diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c50cd82..0fece04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,21 +9,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} - name: Get yarn cache id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ${{ steps.yarn-cache.outputs.dir }} - key: ubuntu-latest-node-12.x-yarn-${{ hashFiles('**/yarn.lock') }} + key: ubuntu-latest-node-16.x-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | - ubuntu-latest-node-12.x-yarn- - - uses: actions/setup-node@v1 + ubuntu-latest-node-16.x-yarn- + - uses: actions/setup-node@v3 with: - node-version: 12.x + node-version: 16.x registry-url: https://registry.npmjs.org/ - name: Install run: yarn install