Skip to content

rollup npm protocol imports #870

rollup npm protocol imports

rollup npm protocol imports #870

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn c8 --check-coverage -x src/preview.ts -x src/toolConfig.ts -x src/client --lines 80 --per-file yarn test:mocha
- run: yarn test:tsc
- run: |
echo ::add-matcher::.github/eslint.json
yarn run eslint src test --format=compact
- uses: actions/upload-artifact@v3
if: failure()
with:
name: test-output-changes
path: |
test/output/*-changed.*
test/output/build/*-changed/