-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: ci | ||
|
||
on: | ||
workflow_dispatch: # allow manual trigger | ||
pull_request: # on pull request changes | ||
push: | ||
branches: [main] # on commits to the main branch | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # to publish releases | ||
issues: write # to comment on released issues | ||
pull-requests: write # to comment on released PRs | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: { node-version: 20.x } | ||
- run: npm install -g pnpm | ||
- run: pnpm install --frozen-lockfile | ||
- run: pnpm run -r test | ||
- run: pnpm run -r build | ||
# - run: pnpm run -r release | ||
# env: | ||
# GITHUB_TOKEN: ${{ github.token }} | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters