This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
fix: offer to use collection instead of tenant #123
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: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
check: | |
name: Typecheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Setup | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
cache: 'pnpm' | |
- name: Prepare | |
run: pnpm install | |
- name: Prepare | |
run: pnpm typecheck | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Setup | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
cache: 'pnpm' | |
- name: Build | |
run: | | |
pnpm install | |
pnpm run --if-present build | |
- name: Test | |
run: pnpm run test | |
env: | |
AWS_REGION: 'us-west-2' | |
AWS_ACCESS_KEY_ID: 'NOSUCH' | |
AWS_SECRET_ACCESS_KEY: 'NOSUCH' |