Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brachkow committed May 2, 2024
1 parent 6c1e7ef commit e3a4b6f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:

steps:
- name: Checkout 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 8
version: latest

- name: Use Node.js
uses: actions/setup-node@v3
Expand All @@ -36,7 +36,7 @@ jobs:
run: pnpm run build

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand All @@ -49,12 +49,12 @@ jobs:
- name: Checkout 🛎
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
version: latest

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
Expand All @@ -71,10 +71,10 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:

steps:
- name: Checkout 🛎
uses: actions/checkout@master
uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
Expand All @@ -30,7 +30,7 @@ jobs:

- name: Saving test results 📥
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: diff
path: src/__image_snapshots__/__diff_output__
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/write-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
core.setFailed(`Request failed with error ${err}`)
}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
repository: ${{ fromJSON(steps.get-pr.outputs.result).head.repo.full_name }}
ref: ${{ fromJSON(steps.get-pr.outputs.result).head.sha }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
version: latest

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20

0 comments on commit e3a4b6f

Please sign in to comment.