This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
chore: update changelog #17
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: DBML playground build | |
on: | |
pull_request: | |
branches: | |
[ "master" ] | |
paths: | |
- packages/playground/**/* | |
env: | |
NODE_VERSION: 16.x | |
WORK_DIR: packages/playground/ | |
PARSER_DIR: packages/parser/ | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Build parser | |
working-directory: ${{ env.PARSER_DIR }} | |
run: | | |
pnpm install --no-frozen-lockfile | |
pnpm build | |
- name: Build playground | |
working-directory: ${{ env.WORK_DIR }} | |
run: | | |
pnpm install --no-frozen-lockfile | |
pnpm build | |