Skip to content

Commit a012d3d

Browse files
committed
Update publish-dev workflow to trigger on dev branch pushes and use npm ci
1 parent 08281c8 commit a012d3d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/publish-dev.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish DEV
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
branches:
6+
- dev
67

78
jobs:
89
test:
@@ -15,7 +16,7 @@ jobs:
1516
node-version: 20.x
1617
cache: npm
1718
- run: |
18-
npm install
19+
npm ci
1920
npm run build
2021
npm run test
2122
@@ -30,8 +31,8 @@ jobs:
3031
node-version: 20.x
3132
cache: npm
3233
registry-url: https://registry.npmjs.org/
33-
- run: |
34-
npm install
34+
- run: |
35+
npm ci
3536
npm run build
3637
npm publish --access public --tag dev
3738
env:

0 commit comments

Comments
 (0)