Skip to content

Commit

Permalink
Merge pull request #1 from ThreadsStyling/feat/use-node-16
Browse files Browse the repository at this point in the history
feat: 🎸 use node 16
  • Loading branch information
Bruno Pascottini authored Mar 27, 2023
2 parents 5e310f0 + c06312f commit b2c4f4b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: |
yarn install
- run: |
yarn all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./
with:
github_token: ${{secrets.GH_PAT_TOKEN}}
Expand All @@ -29,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ACT Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
if: ${{env.ACT}}
with:
path: ./confirm-checks-action
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.19.0
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ inputs:
required: true

runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function run(): Promise<void> {
)
}
} catch (error) {
core.setFailed(error.message)
core.setFailed((error as Error).message)
}
}

Expand Down

0 comments on commit b2c4f4b

Please sign in to comment.