Skip to content

Make access defensive and fix environment variable reference. #175

Make access defensive and fix environment variable reference.

Make access defensive and fix environment variable reference. #175

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
typescript:
name: quality
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install
uses: ./.github/composite-actions/install
- name: lint
run: pnpm -r lint
- name: type-check
run: pnpm -r type-check
- name: prettier
run: pnpm prettier -c .
- name: build
run: pnpm -r build
- name: test
run: pnpm -r test
playwright:
name: playwright
runs-on: ubuntu-latest
if: false
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
test:
- 'test:e2e:production'
- 'test:e2e:development'
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install
uses: ./.github/composite-actions/install
- name: get playwright version
id: pw
run: echo "version=$(cat apps/nextjs/package.json | jq -r '.devDependencies."@playwright/test"')" >> $GITHUB_OUTPUT
- name: install playwright
run: pnpx playwright@${{ steps.pw.outputs.version }} install
- name: test
run: pnpm -r ${{ matrix.test }}