Skip to content

Commit

Permalink
Upgrade to Node 16 (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
BalmungSan authored Oct 19, 2022
1 parent 3399047 commit 566e01f
Show file tree
Hide file tree
Showing 9 changed files with 2,580 additions and 3,006 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,18 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- run: |

- name: Build
shell: bash -l {0}
run: |
nvm use lts/gallium
npm install
- run: |
npm run all
- uses: ./
with:
root: test
extraFiles: test/foo.sh # for the ammonite-runner version

- run: cd test && ./sbt compile && ./foo.sh
shell: bash
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 <noreply@github.com>
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 @@ -119,7 +119,7 @@ outputs:
cache-hit-ammonite:
description: 'A boolean value to indicate a match was found for the ammonite cache'
runs:
using: 'node12'
using: 'node16'
main: 'dist/restore/index.js'
post: 'dist/save/index.js'
post-if: 'success()'
Loading

0 comments on commit 566e01f

Please sign in to comment.