Skip to content

Commit 99f968b

Browse files
committed
update workflow
1 parent d43300d commit 99f968b

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@ on: [push]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-latest
8-
7+
runs-on: ubuntu-20.04
98
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-node@v1
12-
with:
13-
node-version: '12.x'
14-
- run: npm install
15-
- run: npm run build
16-
- name: commit changes
17-
uses: elstudio/actions-js-build/commit@v3
18-
with:
19-
commitMessage: "fixup: [spec] `npm run build`"
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v2-beta
11+
- run: npm install
12+
- run: npm run build
13+
- uses: elstudio/actions-js-build/commit@v3
14+
with:
15+
commitMessage: "fixup: [spec] `npm run build`"

.github/workflows/polyfill.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- name: Use Node.js 12.x
15-
uses: actions/setup-node@v1
16-
with:
17-
node-version: 12.x
14+
- uses: actions/setup-node@v2-beta
1815
- name: Authenticate NPM
19-
uses: NiceLabs/automatic-github-token@master
16+
uses: DimensionDev/github-token-action@latest
2017
with:
2118
registry: true
2219
- name: Install and Test

0 commit comments

Comments
 (0)