Skip to content

Commit

Permalink
Merge pull request #657 from jozefizso/feature/node20
Browse files Browse the repository at this point in the history
Update `setup-swift` action to Node 20 runtime
  • Loading branch information
fwal authored Mar 12, 2024
2 parents 92f3eaf + 944975f commit 524717b
Show file tree
Hide file tree
Showing 8 changed files with 3,831 additions and 8,530 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm install
- run: npm run format-check
- run: npm test
Expand All @@ -33,6 +37,10 @@ jobs:
swift: "5.6.3"
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm install
- run: npm run build && npm run pack-source-map
- uses: ./
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Update Release Draft
id: release_draft
uses: release-drafter/release-drafter@v5
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ outputs:
version:
description: The full Swift version that was configured
runs:
using: node16
using: node20
main: dist/index.js
branding:
icon: 'command'
Expand Down
Loading

0 comments on commit 524717b

Please sign in to comment.