From 4622e54be4cb81090210f49f2f9203dc63c719e4 Mon Sep 17 00:00:00 2001 From: Jesse Wright <63333554+jeswr@users.noreply.github.com> Date: Tue, 28 May 2024 15:36:44 +0100 Subject: [PATCH] chore: update ci.yml (#385) --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca3a875e..2ab06769 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,13 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14.x, 16.x, 18.x, 20.x] + node-version: [14.x, 16.x, 18.x, 20.x, 22.x] steps: - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: npm ci --ignore-scripts - run: npm run build - run: npm run lint @@ -25,13 +25,13 @@ jobs: strategy: fail-fast: false matrix: - node-version: [12.x, 14.x, 16.x, 18.x, 20.x] + node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 22.x] steps: - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: npm ci - run: npm run spec-turtle - run: npm run spec-ntriples @@ -41,13 +41,13 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 14.x - run: npm ci --ignore-scripts - run: npm run docs - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: docs path: | @@ -63,7 +63,7 @@ jobs: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: docs - uses: peaceiris/actions-gh-pages@v3 @@ -82,9 +82,9 @@ jobs: pull-requests: write steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x - run: npm ci - run: npm run build - name: Release