Skip to content

Merge pull request #47 from 2fd/dependabot/cargo/wasm-bindgen-0.2.90 #73

Merge pull request #47 from 2fd/dependabot/cargo/wasm-bindgen-0.2.90

Merge pull request #47 from 2fd/dependabot/cargo/wasm-bindgen-0.2.90 #73

Workflow file for this run

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 }}