Skip to content

Commit 1308272

Browse files
authored
ci: update workflows
1 parent 998652d commit 1308272

File tree

4 files changed

+19
-47
lines changed

4 files changed

+19
-47
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/label-sync.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Sync labels
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
paths:
77
- '.github/labels.yml'
88
workflow_dispatch:
@@ -12,8 +12,7 @@ jobs:
1212
name: Run EndBug/label-sync
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: EndBug/label-sync@v1
15+
- uses: actions/checkout@v3
16+
- uses: EndBug/label-sync@v2
1717
with:
18-
token: ${{ secrets.GITHUB_TOKEN }}
1918
config-file: '.github/labels.yml'

.github/workflows/test.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,23 @@ on:
66

77
jobs:
88
build:
9-
name: Test build
9+
name: Build
1010
runs-on: ubuntu-20.04
1111
steps:
12-
- uses: actions/checkout@v2
13-
- run: npm i
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
cache: npm
16+
- run: npm ci
1417
- run: npm run build
1518

1619
lint:
17-
name: Check linting
20+
name: Lint
1821
runs-on: ubuntu-20.04
1922
steps:
20-
- uses: actions/checkout@v2
21-
- run: npm i
23+
- uses: actions/checkout@v3
24+
- uses: actions/setup-node@v3
25+
with:
26+
cache: npm
27+
- run: npm ci
2228
- run: npm run lint

.github/workflows/versioning.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
name: Keep the versions up-to-date
1+
name: Update tags
22

33
on:
44
release:
55
types: [published, edited]
66

77
jobs:
88
actions-tagger:
9-
runs-on: windows-latest
9+
runs-on: windows-2022
1010
steps:
11-
- uses: Actions-R-Us/actions-tagger@v1
11+
- uses: Actions-R-Us/actions-tagger@v2
1212
with:
13-
publish_latest: true
14-
env:
15-
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"
13+
publish_latest_tag: true

0 commit comments

Comments
 (0)