-
Notifications
You must be signed in to change notification settings - Fork 3
59 lines (47 loc) · 1.13 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
name: release
on:
push:
branches:
- master
- 1.9.x
- 1.8.x
- 1.7.x
- 1.6.x
- 1.5.x
- 1.4.x
- 1.3.x
- 1.2.x
- 1.1.x
- 1.0.x
jobs:
release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: setup
run: bash ./bin/install.sh
- name: installing
run: npm ci
- name: testing wasm
run: npm run test:rs -- --node
- name: building
run: bash ./bin/build.sh
- name: list files
run: ls . && ls ./lib
- name: testing builded files
run: npm run test:ts
# TODO: add coverage service
# - name: uploading to codecov
# uses: codecov/[email protected]
# with:
# token: ${{secrets.CODECOV_TOKEN}}
- name: releasing
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}