From 2f60c0ec7055d3866c97324749dd6ae16c277036 Mon Sep 17 00:00:00 2001 From: Volker Scheuber Date: Wed, 19 Jun 2024 21:45:01 -0500 Subject: [PATCH] update github action versions --- .github/workflows/pipeline.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index ee98b0b72..9bd744195 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -28,13 +28,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Need to specify ref and repository for PRs from forked repos ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: 'npm' @@ -80,7 +80,7 @@ jobs: - name: Zip build artifacts run: zip -r build.zip dist mocks package.json package-lock.json snapshotResolve.js types docs - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: build path: | @@ -115,13 +115,13 @@ jobs: steps: # Need to check out repo to get .snap and .har files for unit tests - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Need to specify ref and repository for PRs from forked repos ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build @@ -130,7 +130,7 @@ jobs: run: unzip -o build.zip - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ node-version: ${{ matrix.node-version }} @@ -171,14 +171,14 @@ jobs: needs: [build, smoke-tests] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build - name: Unzip build artifact run: unzip build.zip - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: 'npm' @@ -216,9 +216,9 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build @@ -231,7 +231,7 @@ jobs: run: echo ${{ github.sha }} > Release.txt - name: Update Changelog - uses: thomaseizinger/keep-a-changelog-new-release@1.3.0 + uses: thomaseizinger/keep-a-changelog-new-release@v2 with: tag: ${{ needs.build.outputs.newTag }} @@ -290,7 +290,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build # need -o to overwrite package.json