Skip to content

Commit

Permalink
Merge pull request #418 from vscheuber/main
Browse files Browse the repository at this point in the history
update github action versions
  • Loading branch information
vscheuber authored Jun 20, 2024
2 parents af677c0 + 2f60c0e commit 044548b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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

Expand All @@ -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 }}
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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

Expand All @@ -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 }}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 044548b

Please sign in to comment.