-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.02 KB
/
build.yaml
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
name: Build Mobile-Control-Core
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up Node
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: install packages
run: npm ci
- name: build
run: npm run build
- name: Deploy to npm
run: |
npx --package=semantic-release \
--package=@semantic-release/commit-analyzer \
--package=@semantic-release/release-notes-generator \
--package=@semantic-release/changelog \
--package=@semantic-release/exec \
--package=conventional-changelog-conventionalcommits \
--package=@semantic-release/npm \
--package=@semantic-release/github \
-- semantic-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}