From f088ede3713dfe62dc0ed28f87b580318c8bd32c Mon Sep 17 00:00:00 2001 From: Phil Hale Date: Wed, 24 May 2023 21:03:23 +0100 Subject: [PATCH] chore: Update CI workflow (#144) * Update deprecated set-output command. * Update actions to use Node 16 rather than Node 12. --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c900f9a..8372808 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: should-skip-job: ${{steps.skip-check.outputs.should_skip}} steps: - id: skip-check - uses: fkirc/skip-duplicate-actions@v2.1.0 + uses: fkirc/skip-duplicate-actions@v5.3.0 with: github_token: ${{github.token}} @@ -30,10 +30,10 @@ jobs: runs-on: ${{matrix.os}} steps: - name: checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: read node version from .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) + run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT shell: bash id: nvm @@ -47,7 +47,7 @@ jobs: run: pulseaudio -D - name: setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '${{steps.nvm.outputs.NVMRC}}' cache: npm @@ -61,12 +61,12 @@ jobs: run: npm i --prefer-offline --no-audit - name: run npm test - uses: GabrielBB/xvfb-action@v1 + uses: coactions/setup-xvfb@v1 with: run: npm run test - name: coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: token: ${{secrets.CODECOV_TOKEN}} files: './test/dist/coverage/coverage-final.json'