Skip to content

Commit

Permalink
fix: github ci can't in yaml extend(
Browse files Browse the repository at this point in the history
  • Loading branch information
KotRikD committed Dec 20, 2023
1 parent a30e35b commit dbeeeab
Showing 1 changed file with 36 additions and 22 deletions.
58 changes: 36 additions & 22 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,29 @@ concurrency:
permissions:
contents: write

flow-prepare-jobs: &flow-prepare-jobs
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install Node.js 🔧
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Rust 🔧
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy

- name: Install Deps 🔧
run: |
npm install -g pnpm@^8
pnpm install --frozen-lockfile
jobs:
lint:
runs-on: "windows-latest"
name: "Lint project"
steps:
<<: *flow-prepare-jobs
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install Node.js 🔧
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Rust 🔧
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy

- name: Install Deps 🔧
run: |
npm install -g pnpm@^8
pnpm install --frozen-lockfile
- name: Lint project
run: |
Expand All @@ -58,7 +55,24 @@ jobs:
runs-on: "${{ matrix.os }}"
name: "Build on ${{ matrix.os }}"
steps:
<<: *flow-prepare-jobs
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install Node.js 🔧
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Rust 🔧
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy

- name: Install Deps 🔧
run: |
npm install -g pnpm@^8
pnpm install --frozen-lockfile
- name: Build App 🔧
run: |
Expand Down

0 comments on commit dbeeeab

Please sign in to comment.