feat: add support for multi-regions #1
Workflow file for this run
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
name: "Pull-Request on main" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Prepare Node.js (20.x) | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: yarn | |
- name: Prepare NPM Registry identity | |
uses: ohoareau/actions/npmrc-scope-authtoken-add@master | |
with: | |
scope: genstackio | |
token: ${{secrets.NPM_TOKEN}} | |
registry: registry.npmjs.org | |
- name: Install | |
shell: 'script -q -e -c "bash {0}"' | |
run: make install | |
env: { FORCE_COLOR: 3, CI: true } | |
- name: Test | |
shell: 'script -q -e -c "bash {0}"' | |
run: make test | |
env: { FORCE_COLOR: 3, CI: true } | |
- name: Lint | |
shell: 'script -q -e -c "bash {0}"' | |
run: make lint | |
env: { FORCE_COLOR: 3, CI: true } | |
- name: Format (check only) | |
shell: 'script -q -e -c "bash {0}"' | |
run: make format-check | |
env: { FORCE_COLOR: 3, CI: true } | |
- name: Build | |
shell: 'script -q -e -c "bash {0}"' | |
run: make build | |
env: { FORCE_COLOR: 3, CI: true } |