-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: change ci name and trigger to all push (#25)
- Loading branch information
1 parent
23abe6b
commit 4ee978c
Showing
1 changed file
with
14 additions
and
13 deletions.
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 |
---|---|---|
@@ -1,18 +1,19 @@ | ||
name: CI | ||
name: Build and Test | ||
|
||
on: [push] | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
jobs: | ||
test: | ||
name: Run Tests | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "18.x" | ||
- uses: pnpm/action-setup@v2 | ||
- run: pnpm install | ||
- run: pnpm build | ||
- run: pnpm test | ||
node-version: '18.x' | ||
- uses: pnpm/action-setup@v3 | ||
- name: Install Dependencies | ||
run: pnpm install | ||
- name: Build | ||
run: pnpm build | ||
- name: Test | ||
run: pnpm test |