-
-
Notifications
You must be signed in to change notification settings - Fork 3
24 lines (24 loc) · 664 Bytes
/
tag.yml
File metadata and controls
24 lines (24 loc) · 664 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
name: Tag version and publish
env:
CI: true
on:
push:
branches:
- main
- 1.x
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup Node
uses: actions/setup-node@v3
with:
node-version: 22
- run: ./tag-version.sh
- run: npm install --legacy-peer-deps && npm run build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./dist/pastanaga-angular/package.json