diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 65b88330..0982a147 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: '${{ env.NODE }}' - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/.npm key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} @@ -41,16 +41,16 @@ jobs: node: [14.x, 16.x, 18.x, 19.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - name: Get npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" - - uses: actions/cache@v2 + echo "{dir}=$(npm config get cache)" + - uses: actions/cache@v3 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}