Skip to content

Commit

Permalink
Upgrade to Node 16 (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
BalmungSan authored Oct 18, 2022
1 parent a024ab4 commit 6d9ff32
Show file tree
Hide file tree
Showing 7 changed files with 1,753 additions and 1,598 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
git merge main
- name: Build
shell: bash -l {0}
run: |
nvm use lts/gallium
npm install
npm run all
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,31 @@ jobs:
jvm: ['8', '11']
steps:
- uses: actions/checkout@v3
- run: |

- name: Build
shell: bash -l {0}
run: |
nvm use lts/gallium
npm install
- run: |
npm run all
# create an sbt file to enabling sbt caching
- run: echo 'name := "foo"' > build.sbt
- id: cs-setup
uses: ./
with:
jvm: ${{ matrix.jvm }}
apps: sbt sbtn ammonite bloop:1.4.11

# - uses: coursier/cache-action@v5
- run: echo cs-version=${{ steps.cs-setup.outputs.cs-version }}
- run: echo $PATH

# test Java
- run: echo $JAVA_HOME
- run: java -version
- run: cs java -version

# test installed apps
- run: sbtn.bat show name </dev/null
shell: bash
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/update-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install
- run: npm run all

- name: Build
shell: bash -l {0}
run: |
nvm use lts/gallium
npm install
npm run all
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
Expand All @@ -19,6 +25,7 @@ jobs:
author: GitHub <[email protected]>
delete-branch: true
title: Update dist

- name: Check Pull Request
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ outputs:
cs-version:
description: 'Version of the installed Coursier'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit 6d9ff32

Please sign in to comment.