Skip to content

Commit

Permalink
Merge pull request #541 from alexarchambault/node20
Browse files Browse the repository at this point in the history
Update Node to 20
  • Loading branch information
alexarchambault committed Feb 1, 2024
2 parents 911a90e + 0ce74fd commit 04ce3a5
Show file tree
Hide file tree
Showing 7 changed files with 1,096 additions and 3,053 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Expand Up @@ -3,7 +3,7 @@
"@typescript-eslint"
],
"extends": [
"plugin:github/recommended"
"plugin:github/typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -15,14 +15,19 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: Build
shell: bash -l {0}
run: |
nvm use lts/gallium
npm install
npm ci
test "$OSTYPE" != "msys" || npm run format
npm run all
# create an sbt file to enabling sbt caching
# create an sbt file to enable sbt caching
- run: echo 'name := "foo"' > build.sbt
- id: cs-setup
uses: ./
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/update-dist.yml
Expand Up @@ -10,11 +10,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: Build
shell: bash -l {0}
run: |
nvm use lts/gallium
npm install
npm ci
test "$OSTYPE" != "msys" || npm run format
npm run all
- name: Create Pull Request
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -25,5 +25,5 @@ outputs:
cs-version:
description: 'Version of the installed Coursier'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'

0 comments on commit 04ce3a5

Please sign in to comment.