Merge pull request #43 from 2fd/docs/use-tsdocs.dev #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |