Skip to content

Commit

Permalink
Use nvm to manage node version
Browse files Browse the repository at this point in the history
  • Loading branch information
fwal committed Mar 12, 2024
1 parent d38f890 commit 944975f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@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 @@ -34,7 +37,10 @@ jobs:
swift: "5.6.3"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@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
2 changes: 2 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

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

- name: Update Release Draft
id: release_draft
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20

0 comments on commit 944975f

Please sign in to comment.