Skip to content

Commit

Permalink
ci: set v5 release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
idoros committed Sep 20, 2023
1 parent 0bf80e7 commit c9fd6a8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/release3.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/release5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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 }}

0 comments on commit c9fd6a8

Please sign in to comment.