Skip to content

Commit 3a6f013

Browse files
committed
chore: update github actions
1 parent 790fe6e commit 3a6f013

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/checks.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424
- name: Commit Linter
25-
uses: wagoid/commitlint-github-action@v1.3.1
25+
uses: wagoid/commitlint-github-action@v2
2626
with:
2727
configFile: './package.json'
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3028

3129
test-node:
3230
name:
@@ -46,7 +44,7 @@ jobs:
4644
steps:
4745
- uses: actions/checkout@v2
4846
- name: Use Node.js ${{ matrix.node-version }}
49-
uses: actions/setup-node@v1
47+
uses: actions/setup-node@v2-beta
5048
with:
5149
node-version: ${{ matrix.node-version }}
5250
- name: install with eslint v${{matrix.eslint-version }}
@@ -72,7 +70,7 @@ jobs:
7270

7371
steps:
7472
- uses: actions/checkout@v2
75-
- uses: actions/setup-node@v1
73+
- uses: actions/setup-node@v2-beta
7674
with:
7775
node-version: 12.x
7876
- name: install

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: actions/setup-node@v1
17+
- uses: actions/setup-node@v2-beta
1818
with:
1919
node-version: '12.x'
2020

21-
- uses: actions/cache@v1
21+
- uses: actions/cache@v2
2222
with:
2323
path: ~/.npm
2424
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)