Skip to content

feat: npm package

feat: npm package #1

Workflow file for this run

name: Publish Package
on:
workflow_dispatch:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: @ubiquibot/permit-generation

Check failure on line 16 in .github/workflows/publish-package.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-package.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
default-branch: main
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.10.0'
registry-url: https://registry.npmjs.org/
- run: |
yarn install --immutable --immutable-cache --check-cache
yarn pack
yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}