fix(env): add env keys for shopify in deployment env's #2
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 Check Action" | |
on: pull_request | |
jobs: | |
tests: | |
name: Tests | |
runs-on: [self-hosted, local-tester] | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
if: ${{ github.event.label.name == 'review' }} | |
steps: | |
- name: CommitLint | |
run: | | |
cd .github | |
./commit-check.sh ${{ github.event.pull_request.base.sha }} | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies... | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
run: npm i | |
- name: "Lint" | |
run: npm run lint | |
- name: Types checking | |
run: npm run tsc | |
build: | |
name: Build all packages | |
runs-on: [ self-hosted, builder, office-server ] | |
if: ${{ success() && github.event.pull_request }} | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: main | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Read environment Vars | |
run: | | |
set -a | |
. ./packages/demo-nextjs/.env.example | |
set a+ | |
- name: Load Build Evnrorment Data | |
run: | | |
npm run build |