-
Notifications
You must be signed in to change notification settings - Fork 7
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
9 additions
and
11 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,11 +1,9 @@ | ||
name: Pull Request Workflow | ||
|
||
env: | ||
NX_BRANCH: ${{ github.event.number }} | ||
NX_RUN_GROUP: ${{ github.run_id }} | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
|
@@ -15,7 +13,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npm run build -- --base=remotes/origin/${{github.event.pull_request.base.ref}} | ||
- run: npm run build | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
|
@@ -25,7 +23,7 @@ jobs: | |
fetch-depth: 0 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npm run prettier -- --check | ||
- run: npm run lint -- --base=remotes/origin/${{github.event.pull_request.base.ref}} | ||
- run: npm run lint | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
|
@@ -34,4 +32,4 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npm test -- --base=remotes/origin/${{github.event.pull_request.base.ref}} | ||
- run: npm test |
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