-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: use GH actions #1768
Merged
Merged
chore: use GH actions #1768
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
255f143
Save Tue Apr 23 01:43:09 PM -03 2024
b3187f8
Save Tue Apr 23 02:30:50 PM -03 2024
6a2b07b
Save Tue Apr 23 02:42:01 PM -03 2024
c65330d
remove leak detector
541fdcc
Save Tue Apr 23 02:57:11 PM -03 2024
fd6c02b
Revert "remove leak detector"
2e45be2
Save Tue Apr 23 05:08:10 PM -03 2024
b1e898e
Save Tue Apr 23 05:37:14 PM -03 2024
c2acce4
Save Tue Apr 23 05:40:15 PM -03 2024
344ee01
Save Tue Apr 23 05:42:22 PM -03 2024
47ee75c
Save Tue Apr 23 05:46:48 PM -03 2024
8c502f4
Save Tue Apr 23 05:48:46 PM -03 2024
98e9787
Save Tue Apr 23 05:53:01 PM -03 2024
e01ca42
Save Tue Apr 23 05:56:55 PM -03 2024
418a518
Save Tue Apr 23 06:03:07 PM -03 2024
5f8c70e
Save Tue Apr 23 06:12:27 PM -03 2024
e5dc7d8
Save Tue Apr 23 06:20:14 PM -03 2024
7e238c6
Save Tue Apr 23 06:34:53 PM -03 2024
79dccd7
Save Tue Apr 23 06:36:22 PM -03 2024
3254b1f
remove comments
8b050bd
Save Thu Apr 25 09:46:41 AM -03 2024
ec43dc4
Update .github/workflows/build.yml
hugoArregui 201bac8
Update .github/workflows/build.yml
hugoArregui 001c28b
Update .github/workflows/build.yml
hugoArregui b84e08c
Update .github/workflows/build.yml
hugoArregui File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
pull_request: | ||
|
||
jobs: | ||
validations: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
- name: install | ||
run: yarn install --frozen-lockfile | ||
- name: build | ||
run: yarn build | ||
- name: lint | ||
run: yarn lint:check | ||
|
||
test-content: | ||
runs-on: ubuntu-latest | ||
services: | ||
postgres: | ||
image: postgres | ||
env: | ||
POSTGRES_DB: postgres_test | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: 12345678 | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
ports: | ||
- 5432:5432 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js 16.16.0 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.16.0 | ||
cache: yarn | ||
- name: install | ||
run: yarn install --frozen-lockfile | ||
- name: create .env | ||
run: echo "" >> .env | ||
- name: test | ||
run: yarn test:content | ||
|
||
|
||
test-lambdas: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js 16.16.0 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.16.0 | ||
cache: yarn | ||
- name: install | ||
run: yarn install --frozen-lockfile | ||
- name: create .env | ||
run: echo "" >> .env | ||
- name: test | ||
run: yarn test:lambdas |
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,13 @@ | ||
name: CI/CD on main branch | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
cd: | ||
uses: decentraland/platform-actions/.github/workflows/apps-docker-next.yml@main | ||
with: | ||
service-name: catalyst | ||
secrets: inherit |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this work with node 18?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't