Skip to content

0.10.1

0.10.1 #25

Workflow file for this run

name: Release
on:
workflow_dispatch:
release:
types:
- published
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Create .npmrc
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm i
- run: npm run build -w type-guard
- run: npm run build
- run: npm publish --workspaces --access public