Skip to content

chore: format

chore: format #26

Workflow file for this run

name: Publish
on:
push:
branches: ["main"]
# branches:
# - main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write # read
id-token: write
# attestations: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.17.0'
registry-url: 'https://registry.npmjs.org'
############# NPM RELEASE ##############
# - run: npm install -g npm
- run: npm i
- run: npm ci
# - run: npm audit signatures
- run: npm publish --provenance --access public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}