Skip to content

Commit

Permalink
chore(pandacss-sandbox): add ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KoichiKiyokawa committed Jul 17, 2023
1 parent 43afe56 commit d7996e9
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/pandacss-sandbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: pandacss-sandbox
on:
push:
paths:
- pandacss-sandbox/**
- .github/**
branches:
- main
pull_request:
paths:
- pandacss-sandbox/**
- .github/**
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pandacss-sandbox
strategy:
matrix:
node-version:
- 16.x
- 18.x
- 20.x
steps:
- uses: actions/checkout@v3
- run: corepack enable pnpm
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# cache: pnpm
cache-dependency-path: pandacss-sandbox/pnpm-lock.yaml
- run: pnpm i --frozen-lockfile
- run: pnpm tsc --noEmit
- run: pnpm build
- run: pnpm test

0 comments on commit d7996e9

Please sign in to comment.