Skip to content

Merge pull request #160 from BlazeFace/dependabot/npm_and_yarn/typesc… #333

Merge pull request #160 from BlazeFace/dependabot/npm_and_yarn/typesc…

Merge pull request #160 from BlazeFace/dependabot/npm_and_yarn/typesc… #333

Workflow file for this run

name: PR
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Copy to .env
run: |
state=$(cat state.yaml)
printf "PUBLIC_STATE=\"\n$state\"" > .env
- run: pnpm install
- run: pnpm exec playwright install
- run: pnpm run build
- run: pnpm test