Skip to content

πŸš€ github-deploy θ„šζœ¬ζ›΄ζ–° #15

πŸš€ github-deploy θ„šζœ¬ζ›΄ζ–°

πŸš€ github-deploy θ„šζœ¬ζ›΄ζ–° #15

Workflow file for this run

name: Build and Publish
on:
pull_request:
branches: [2.x]
push:
branches: [2.x]
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}}