Skip to content

Commit

Permalink
Improve workflow files
Browse files Browse the repository at this point in the history
Signed-off-by: William So <[email protected]>
  • Loading branch information
polyipseity committed Apr 9, 2024
1 parent 163d876 commit 7e6cebd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
GH_TOKEN: ${{github.token}}
run: |
gh release upload latest .github/*.tgz --clobber
on:
push:
tags:
- latest
workflow_dispatch:

permissions: {}
9 changes: 8 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
node-version: '*'
- run: npm ci
- run: npm run build

build-pnpm:
runs-on: ubuntu-latest
steps:
Expand All @@ -26,8 +27,14 @@ jobs:
node-version: '*'
- run: pnpm install
- run: pnpm build

on:
pull_request_target:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:

permissions: {}

0 comments on commit 7e6cebd

Please sign in to comment.