Skip to content

Commit

Permalink
chore(ci): Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbcodes committed Oct 21, 2023
1 parent 034cd1c commit 069b20f
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Compile web artifacts
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm run build

- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Run cargo check
run: cargo check --verbose
run: cargo check

test:
name: Test Suite
Expand All @@ -25,6 +32,13 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4

- name: Compile web artifacts
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm run build

- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

Expand All @@ -38,6 +52,13 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4

- name: Compile web artifacts
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm run build

- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
Expand Down

0 comments on commit 069b20f

Please sign in to comment.