-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create checkout-and-prep * Readd checkout * More cleanup
- Loading branch information
Showing
3 changed files
with
47 additions
and
42 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,32 @@ | ||
name: 'After Checkout Prep' | ||
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: | ||
- 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 NPM packages" | ||
uses: "./.github/actions/install-packages" | ||
if: ${{ inputs.install-node }} | ||
with: | ||
node: ${{ inputs.node }} | ||
- name: "Install Ruby packages" | ||
uses: "./.github/actions/install-packages" | ||
if: ${{ inputs.install-ruby }} | ||
with: | ||
ruby: ${{ inputs.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 |
---|---|---|
|
@@ -34,21 +34,12 @@ jobs: | |
node: [14.19.1] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user | ||
uses: Daniel-Marynicz/[email protected] | ||
- uses: ./.github/actions/after-checkout-prep | ||
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 | ||
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 | ||
|
@@ -63,21 +54,12 @@ jobs: | |
node: [14.19.1] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user | ||
uses: Daniel-Marynicz/[email protected] | ||
- uses: ./.github/actions/after-checkout-prep | ||
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 | ||
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 |
---|---|---|
|
@@ -40,21 +40,12 @@ jobs: | |
ruby: [2.7.7] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user | ||
uses: Daniel-Marynicz/[email protected] | ||
- uses: ./.github/actions/after-checkout-prep | ||
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 | ||
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 | ||
|