Skip to content

Commit

Permalink
Add node 16 support for action (#78)
Browse files Browse the repository at this point in the history
* Add node 16 support

* Fix vulnerabilities

* Node 16 support

* Upgrade workflow actions to node 16 versions

* Upgrade node dependencies
  • Loading branch information
zymotik authored Dec 30, 2022
1 parent 4157521 commit 18d911b
Show file tree
Hide file tree
Showing 6 changed files with 3,681 additions and 2,343 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Coverage report

on:
workflow_run:
workflows: [ "Test" ]
workflows: ["Test"]
types:
- completed
jobs:
Expand All @@ -11,12 +11,12 @@ jobs:
if: ${{ github.event.workflow_run.event == 'pull_request' }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.workflow_run.head_commit.id }}
- name: Download Coverage Artifacts
uses: dawidd6/action-download-artifact@891cccee4b25d3306cf5edafa174ddc1d969871f
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: ${{ github.event.workflow_run.workflow_id }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '16.x'
- run: npm ci
- run: npm run lint
- run: npm test
Expand All @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '16.x'
- name: Validate build
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ inputs:
required: false
default: ''
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'percent'
Expand Down
Loading

0 comments on commit 18d911b

Please sign in to comment.