Skip to content

πŸ”– v3.0.0-beta.0 #13

πŸ”– v3.0.0-beta.0

πŸ”– v3.0.0-beta.0 #13

Workflow file for this run

name: Build and Publish
on:
pull_request:
branches: main
push:
branches: main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Node Version Change βž•
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Use Pnpm βž•
uses: pnpm/action-setup@v2
with:
version: 6
run_install: false
- name: Install and Build πŸ”§
run: |
pnpm i
pnpm run build
- name: Publish πŸš€
run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}