File tree Expand file tree Collapse file tree 4 files changed +369
-3
lines changed Expand file tree Collapse file tree 4 files changed +369
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v3
18+
19+ - name : Setup Node.js environment
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : 18
23+
24+ - name : Install dependencies
25+ run : npm ci --no-audit
26+
27+ # Build script also run a type-check to ensure there are no type errors.
28+ - name : Build
29+ run : npm run build
Original file line number Diff line number Diff line change 1+ # Release is automatically triggered when a new tag is pushed to the repository,
2+ # this is done using `npm run bumpp`.
3+ #
4+ # This action will use `changelogithub` which generates a changelog using
5+ # conventional commits, inside the GitHub release.
6+
7+ name : Release
8+
9+ permissions :
10+ contents : write
11+
12+ on :
13+ push :
14+ tags :
15+ - " v*"
16+
17+ jobs :
18+ release :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v3
22+ with :
23+ fetch-depth : 0
24+
25+ - uses : actions/setup-node@v3
26+ with :
27+ node-version : 18.x
28+
29+ - run : npx changelogithub
30+ env :
31+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments