chore: Make package releasable #672
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3.1.0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: latest | |
- name: Install Dependencies for Vite Plugin Relay | |
run: pnpm i | |
- name: Install Playwright | |
run: pnpm --filter example exec playwright install --with-deps | |
- name: Test Example Site | |
run: pnpm --filter example test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3.1.0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: latest | |
- name: Install Dependencies for Vite Plugin Relay | |
run: pnpm i | |
- name: Lint | |
run: pnpm lint |