Skip to content

feat: playground example #109

feat: playground example

feat: playground example #109

Workflow file for this run

name: Build & lint PR
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths-ignore:
- "**/CHANGELOG.md"
- "**/package.json"
- ".changeset/*"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
env:
CI: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build packages
run: yarn build
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
env:
CI: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Lint packages
run: yarn lint
env:
TIMING: 1
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
env:
CI: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Test packages
run: yarn test
env:
NODE_ENV: test