Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Node 16 #283

Merged
merged 3 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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