Skip to content

Commit

Permalink
test against “distrified” action.js as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jan 15, 2025
1 parent e84bf32 commit d7d00e2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/ci.action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
on:
push:
branches:
- main
workflow_call:
pull_request:
paths:
- action.js
- action.yml
- package.json
- installer.sh
- .github/workflows/ci.action.yml

concurrency:
group: ${{ github.ref || 'ci' }}/action.ts
Expand Down Expand Up @@ -70,3 +74,16 @@ jobs:
- run: pkgx --version
- uses: ./
- run: pkgx --version

dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm i
- uses: ./
- run: npm run dist
- run: rm /usr/local/bin/pkgx
- run: '! pkgx --version'
- run: git clean -xfd
- uses: ./
- run: pkgx --version
2 changes: 1 addition & 1 deletion scripts/publish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fi
git checkout -b v$v_new-branch
npm run dist
git add ./action.js
git commit --message $v_new
git commit --message v$v_new
git tag v$v_new
git push origin v$v_new

Expand Down

0 comments on commit d7d00e2

Please sign in to comment.