Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

feat: integration tests #113

feat: integration tests

feat: integration tests #113

Workflow file for this run

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'