Skip to content

Commit

Permalink
Set up publishing of @webref/idl with Lerna
Browse files Browse the repository at this point in the history
Lerna is a tool for managing monorepos, and while @webref/idl is the
only package here now, the packages/* structure makes sense.

Fixes #63.
  • Loading branch information
foolip committed Feb 10, 2021
1 parent d80034b commit 2d7f9eb
Show file tree
Hide file tree
Showing 10 changed files with 7,587 additions and 201 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test
on:
pull_request: {}
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: ['10', '12', '14']
name: Node.js ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npx lerna bootstrap
- run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
packages/idl/*.idl
wpt/
6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"packages": [
"packages/*"
],
"version": "0.0.1"
}
Loading

0 comments on commit 2d7f9eb

Please sign in to comment.