Skip to content

v2 genesis commit

v2 genesis commit #1

name: Publish Package to npmjs
on:
push:
paths:
- "old-packages/questions/*"
- ".github/workflows/questions-publish.yml"
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./old-packages/questions
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn
# - run: yarn run --production build
- run: yarn publish --tag beta --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}