-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from planningcenter/ns/v1
v1 Rewrite
- Loading branch information
Showing
48 changed files
with
31,851 additions
and
14,905 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,2 @@ | ||
# The micro image does not have git, so we need the medium image | ||
-P ubuntu-latest=catthehacker/ubuntu:act-latest |
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,56 @@ | ||
name: Test | ||
on: [pull_request] | ||
|
||
jobs: | ||
|
||
balto-eslint-v9: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
- run: "npm ci" | ||
working-directory: "test/v9" | ||
- uses: ./ | ||
with: | ||
working-directory: "test/v9" | ||
|
||
balto-eslint-v8: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
- run: "npm ci" | ||
working-directory: "test/v8" | ||
- uses: ./ | ||
with: | ||
working-directory: "test/v8" | ||
|
||
balto-eslint-v7: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
- run: "npm ci" | ||
working-directory: "test/v7" | ||
- uses: ./ | ||
with: | ||
working-directory: "test/v7" | ||
|
||
balto-eslint-v6: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
- run: "npm ci" | ||
working-directory: "test/v6" | ||
- uses: ./ | ||
with: | ||
working-directory: "test/v6" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,38 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json", | ||
"packages": [ | ||
"nodejs@20", | ||
"ruby@latest", | ||
"act@latest" | ||
], | ||
"env": {"DEVBOX_COREPACK_ENABLED": "true"}, | ||
"shell": { | ||
"scripts": { | ||
"setup": [ | ||
"gem install rerun", | ||
"npm ci" | ||
], | ||
"test": "npm run test", | ||
"dev": "npm run dev", | ||
"rebuildtests": [ | ||
"git diff --quiet || { echo 'Working tree is not clean, exiting.'; exit 1; }", | ||
"cd test/v6 && rm existing.js new.js some_file_that_eslint_should_ignore && cd ../..", | ||
"cd test/v7 && rm existing.js new.js some_file_that_eslint_should_ignore && cd ../..", | ||
"cd test/v8 && rm existing.js new.js some_file_that_eslint_should_ignore && cd ../..", | ||
"cd test/v9 && rm existing.js new.js some_file_that_eslint_should_ignore && cd ../..", | ||
"cp test/snapshots/base/* test/v6", | ||
"cp test/snapshots/base/* test/v7", | ||
"cp test/snapshots/base/* test/v8", | ||
"cp test/snapshots/base/* test/v9", | ||
"git add . && git commit -m 'Undo simulated changes'", | ||
"echo \"{ \\\"pull_request\\\": { \\\"base\\\": { \\\"sha\\\": \\\"$(git rev-parse HEAD)\\\" } } }\" > test/pull_request_event_payload.json", | ||
"git add . && git commit -m 'Update test target sha'", | ||
"cp test/snapshots/updates/* test/v6", | ||
"cp test/snapshots/updates/* test/v7", | ||
"cp test/snapshots/updates/* test/v8", | ||
"cp test/snapshots/updates/* test/v9", | ||
"git add . && git commit -m 'Simulate changes'" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.