Skip to content

Commit 716bfb2

Browse files
committed
Update build
1 parent d9acfad commit 716bfb2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,28 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
runs-on: ubuntu-latest
1216
steps:
1317
- name: Checkout repository
14-
uses: actions/checkout@v2
15-
16-
- name: Set up Node.js
17-
uses: actions/setup-node@v1
18-
with:
19-
node-version: '16'
18+
uses: actions/checkout@v3
2019

2120
- name: Set up Yarn
2221
run: npm install --global yarn && yarn --version
23-
22+
2423
- name: Install dependencies
2524
run: yarn install
2625

2726
- name: Build website
2827
run: yarn build
2928

3029
- name: Clone branch gh-pages
31-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3231
with:
3332
path: 'gh-pages'
3433
ref: gh-pages

0 commit comments

Comments
 (0)