Skip to content

Commit

Permalink
bump: node16 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
keroxp authored Oct 26, 2022
1 parent c2b05ab commit 8a7e268
Show file tree
Hide file tree
Showing 6 changed files with 8,958 additions and 5,437 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "14"
node-version: "16"
- run: yarn install
- name: Check lib
run: |
make
git diff --exit-code
- run: yarn test
- run: yarn test
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ inputs:
description: "Canarycage version. If no version specified, the latest version will be used automatically."
required: false
runs:
using: 'node12'
main: 'lib/index.js'
using: 'node16'
main: 'lib/index.js'
7 changes: 5 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ async function main() {
if (!(await io.which("cage", false))) {
await downloadCage({version});
}
} catch (error) {
core.setFailed(error.message);
} catch (e) {
if (e instanceof Error) {
console.error(e);
}
core.setFailed('see error above');
}
}

Expand Down
Loading

0 comments on commit 8a7e268

Please sign in to comment.