doc: sync test.d.ts in readme #1
Workflow file for this run
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: 'Publish to npm' | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build_and_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Build @dylibso/xtp-test | |
run: | | |
make build-npm ${{ github.ref }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Publish @dylibso/xtp-test | |
run: | | |
cd npm | |
npm ci | |
npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_API_TOKEN }} | |