-
-
Notifications
You must be signed in to change notification settings - Fork 30
69 lines (62 loc) · 1.43 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Release
on:
push:
branches:
- main
- next
permissions:
contents: write
issues: write
pull-requests: write
concurrency:
group: Release
cancel-in-progress: false
jobs:
lint_js:
uses: ./.github/workflows/lint-js.yml
lint_docs:
uses: ./.github/workflows/lint-docs.yml
lint_knip_dev:
uses: ./.github/workflows/lint-knip-dev.yml
lint_knip_prod:
uses: ./.github/workflows/lint-knip-prod.yml
lint_markdown:
uses: ./.github/workflows/lint-markdown.yml
lint_packages:
uses: ./.github/workflows/lint-packages.yml
lint_spelling:
uses: ./.github/workflows/lint-spelling.yml
lint_yaml:
uses: ./.github/workflows/lint-yaml.yml
test_js:
uses: ./.github/workflows/test-js.yml
typecheck:
uses: ./.github/workflows/typecheck.yml
release:
needs:
- lint_js
- lint_docs
- lint_knip_dev
- lint_knip_prod
- lint_markdown
- lint_packages
- lint_spelling
- lint_yaml
- test_js
- typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/prepare
with:
node-version: v20
- name: Build
run: pnpm run build
- name: Release
run: pnpm run release
env:
GITHUB_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}