Skip to content

feat: update deployment & remove old docs #13

feat: update deployment & remove old docs

feat: update deployment & remove old docs #13

Workflow file for this run

name: CI
on: [ push ]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [ "16.x" ]
os: [ ubuntu-latest ]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Lint
run: pnpm lint
- name: Install Playwright browsers
run: pnpx playwright install --with-deps
- name: Test
run: pnpm test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: packages/tests/playwright-report/
retention-days: 30