Skip to content

Commit d7d00e2

Browse files
committed
test against “distrified” action.js as well
1 parent e84bf32 commit d7d00e2

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/ci.action.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
on:
2+
push:
3+
branches:
4+
- main
25
workflow_call:
36
pull_request:
47
paths:
58
- action.js
69
- action.yml
710
- package.json
811
- installer.sh
12+
- .github/workflows/ci.action.yml
913

1014
concurrency:
1115
group: ${{ github.ref || 'ci' }}/action.ts
@@ -70,3 +74,16 @@ jobs:
7074
- run: pkgx --version
7175
- uses: ./
7276
- run: pkgx --version
77+
78+
dist:
79+
runs-on: ubuntu-latest
80+
steps:
81+
- uses: actions/checkout@v4
82+
- run: npm i
83+
- uses: ./
84+
- run: npm run dist
85+
- run: rm /usr/local/bin/pkgx
86+
- run: '! pkgx --version'
87+
- run: git clean -xfd
88+
- uses: ./
89+
- run: pkgx --version

scripts/publish-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fi
7777
git checkout -b v$v_new-branch
7878
npm run dist
7979
git add ./action.js
80-
git commit --message $v_new
80+
git commit --message v$v_new
8181
git tag v$v_new
8282
git push origin v$v_new
8383

0 commit comments

Comments
 (0)