Skip to content

Initialize

Initialize #7

Workflow file for this run

name: release
on:
push:
branches:
- main
pull_request:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- uses: JS-DevTools/npm-publish@v3
if: github.ref == 'refs/heads/main'
with:
access: public
token: ${{ secrets.NPM_TOKEN }}