Skip to content

Commit

Permalink
fix: robust minimal test stack esbuild/zora/c8
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Oct 6, 2023
1 parent a0c77fd commit a33f82f
Show file tree
Hide file tree
Showing 38 changed files with 10,187 additions and 7,907 deletions.
51 changes: 42 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,27 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
# node-version: [16.x, 18.x, 20.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run build:lib
- run: npm run build:demo
- run: npm run build:dist
- run: npm run build:standalone

lint:
runs-on: ubuntu-latest

strategy:
Expand All @@ -13,16 +33,29 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn lint
- run: yarn test:coverage -v
- run: yarn build:lib
- run: yarn build:demo
- run: yarn build:dist
- run: yarn build:standalone
cache: npm
- run: npm ci
- run: npm run lint

test:
runs-on: ubuntu-latest

strategy:
matrix:
# node-version: [16.x, 18.x, 20.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run test:coverage
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
node_modules
npm-debug.log
yarn-error.log
package-lock.json
.DS_Store
/lib
/lazy
Expand All @@ -10,3 +9,4 @@ package-lock.json
/es6
.idea/
.vscode/
/disttest/
27 changes: 0 additions & 27 deletions babel.config.js

This file was deleted.

Loading

0 comments on commit a33f82f

Please sign in to comment.