-
Notifications
You must be signed in to change notification settings - Fork 1
25 lines (23 loc) · 715 Bytes
/
Copy pathci.yml
File metadata and controls
25 lines (23 loc) · 715 Bytes
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
name: CI
on:
push:
branches: [master]
jobs:
build-release:
name: Build/Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
cache: yarn
- run: yarn install --frozen-lockfile
- name: Run yarn commitlint --from=head_commit.message
run: echo "${{ github.event.head_commit.message }}" | yarn commitlint
- run: yarn prettier --check .
- run: yarn cspell --no-must-find-files '**'
- run: yarn semantic-release --branches ${{ github.ref_name }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}