-
Notifications
You must be signed in to change notification settings - Fork 95
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
3 changed files
with
46 additions
and
45 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,31 @@ | ||
name: 'Checkout and prepare' | ||
description: 'prep' | ||
inputs: | ||
node: | ||
description: "Which node version?" | ||
install-node: | ||
description: "Install node?" | ||
ruby: | ||
description: "Which node version?" | ||
install-ruby: | ||
description: "Install ruby?" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user | ||
uses: Daniel-Marynicz/[email protected] | ||
with: | ||
postgres_image_tag: 12-alpine | ||
postgres_user: houdini_user | ||
postgres_password: password | ||
- name: "Install packages" | ||
uses: "./.github/actions/install-packages" | ||
with: | ||
node: ${{ inputs.node }} | ||
install-node: ${{ inputs.install-node }} | ||
ruby: ${{ inputs.ruby }} | ||
install-ruby: ${{ inputs.install-ruby }} | ||
|
||
|
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 |
---|---|---|
|
@@ -33,22 +33,12 @@ jobs: | |
os: [ubuntu-20.04] | ||
node: [14.19.1] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user | ||
uses: Daniel-Marynicz/[email protected] | ||
with: | ||
postgres_image_tag: 12-alpine | ||
postgres_user: houdini_user | ||
postgres_password: password | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
- run: yarn install --frozen-lockfile | ||
- uses: ruby/setup-ruby@v1 | ||
- uses: ./.github/actions/checkout-and-prep | ||
with: | ||
ruby-version: ${{ env.ruby }} | ||
bundler-cache: true | ||
install-node: true | ||
node: ${{ matrix.node }} | ||
install-ruby: true | ||
ruby: ${{ env.ruby }} | ||
- run: bin/setup ci | ||
- name: Generate JS routes | ||
run: bin/rails js:routes:typescript | ||
|
@@ -62,22 +52,12 @@ jobs: | |
os: [ubuntu-20.04] | ||
node: [14.19.1] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user | ||
uses: Daniel-Marynicz/[email protected] | ||
with: | ||
postgres_image_tag: 12-alpine | ||
postgres_user: houdini_user | ||
postgres_password: password | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
- run: yarn install --frozen-lockfile | ||
- uses: ruby/setup-ruby@v1 | ||
- uses: ./.github/actions/checkout-and-prep | ||
with: | ||
ruby-version: ${{ env.ruby }} | ||
bundler-cache: true | ||
install-node: true | ||
node: ${{ matrix.node }} | ||
install-ruby: true | ||
ruby: ${{ env.ruby }} | ||
- name: run setup | ||
run: bin/setup ci | ||
- name: Generate JS routes | ||
|
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 |
---|---|---|
|
@@ -39,22 +39,12 @@ jobs: | |
node: [14.19.1] | ||
ruby: [2.7.7] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user | ||
uses: Daniel-Marynicz/[email protected] | ||
with: | ||
postgres_image_tag: 12-alpine | ||
postgres_user: houdini_user | ||
postgres_password: password | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
- run: yarn install --frozen-lockfile | ||
- uses: ruby/setup-ruby@v1 | ||
- uses: ./.github/actions/checkout-and-prep | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
install-node: true | ||
node: ${{ matrix.node }} | ||
install-ruby: true | ||
ruby: ${{ matrix.ruby }} | ||
- name: install bess dependencies | ||
run: | | ||
cd gems/bess | ||
|