-
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.
(operate) chore: add github workflow
- Loading branch information
Atatakai
authored and
Atatakai
committed
Aug 23, 2024
1 parent
74cc103
commit 0987cb8
Showing
3 changed files
with
32 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# TODO: figure out how to trigger workflow from vercel for nx | ||
|
||
name: Operate | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'apps/operate/**' | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- 'apps/operate/**' | ||
|
||
jobs: | ||
build: | ||
continue-on-error: False | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
- name: Install modules | ||
run: yarn | ||
- name: Run ESLint | ||
run: yarn nx lint operate |
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
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