diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc2484ad..ad747a7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,11 +18,11 @@ jobs: steps: - name: Cancel previous running workflows uses: fkirc/skip-duplicate-actions@master - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v2 - - uses: actions/cache@v2 + - uses: actions/setup-node@v4 + - uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} @@ -38,10 +38,10 @@ jobs: runs-on: ubuntu-latest needs: [lint] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 - name: Cache node_modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} @@ -62,13 +62,13 @@ jobs: needs: [test] if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: persist-credentials: false # GITHUB_TOKEN must not be set for the semantic release - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 12.13.0 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}