-
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.
Showing
3 changed files
with
44 additions
and
59 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,24 +1,24 @@ | ||
name: Lint on Push and PR | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'dev**' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
push: | ||
branches: | ||
- "main" | ||
- "dev**" | ||
pull_request: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.x' | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Run ESLint | ||
run: npx eslint . | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "18.x" | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Run ESLint | ||
run: npx eslint . |
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,22 +1,22 @@ | ||
version: 0.0 | ||
os: linux | ||
files: | ||
- source: / | ||
destination: /home/ubuntu/rp-api | ||
file_exists_behavior: OVERWRITE | ||
hooks: | ||
BeforeInstall: | ||
- location: scripts/install_dependencies.sh | ||
timeout: 300 | ||
runas: root | ||
AfterInstall: | ||
- location: scripts/build.sh | ||
timeout: 300 | ||
runas: root | ||
ApplicationStart: | ||
- location: scripts/install_dependencies.sh | ||
timeout: 300 | ||
runas: root | ||
- location: scripts/reload_server.sh | ||
timeout: 300 | ||
runas: root | ||
version: 0.0 | ||
os: linux | ||
files: | ||
- source: / | ||
destination: /home/ubuntu/rp-api | ||
file_exists_behavior: OVERWRITE | ||
hooks: | ||
BeforeInstall: | ||
- location: scripts/install_dependencies.sh | ||
timeout: 300 | ||
runas: root | ||
AfterInstall: | ||
- location: scripts/build.sh | ||
timeout: 300 | ||
runas: root | ||
ApplicationStart: | ||
- location: scripts/install_dependencies.sh | ||
timeout: 300 | ||
runas: root | ||
- location: scripts/reload_server.sh | ||
timeout: 300 | ||
runas: root |
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