excalidraw/.github/workflows/build-packages.yml

34 lines
664 B
YAML
Raw Normal View History

2020-11-02 20:14:20 +01:00
name: Build packages
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js 14.x
2020-11-02 20:14:20 +01:00
uses: actions/setup-node@v1
with:
node-version: 14.x
2020-11-02 20:14:20 +01:00
- name: Install dependencies
run: |
npm ci
npm ci --prefix src/packages/excalidraw
npm ci --prefix src/packages/utils
- name: Build @excalidraw/excalidraw
run: |
npm run pack --prefix src/packages/excalidraw
- name: Build @excalidraw/utils
run: |
npm run pack --prefix src/packages/utils