-
-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (31 loc) · 722 Bytes
/
publish.yml
File metadata and controls
40 lines (31 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Publish
on:
push:
branches:
- main
tags: '*@[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
<<<<<<< HEAD
- uses: actions/checkout@v5
with:
fetch-depth: 0
- run: |
git config user.name github-actions
git config user.email [email protected]
=======
- uses: actions/checkout@v5
>>>>>>> 85e8401 (v6.4.0...v6.5.1)
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/[email protected]
with:
version: 8.15.9
- run: pnpm install
- run: npm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}