Skip to content

ci: set v5 release flow #1

ci: set v5 release flow

ci: set v5 release flow #1

Workflow file for this run

name: release5
on:
push:
branches: ['5.x']
jobs:
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org/'
cache: npm
- run: npm ci
- run: npm run build
- run: npx pleb@5 publish --tag release-5.x
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}