diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a77a5af..e7ffb61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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: