Skip to content

Merge pull request #127 from mifi/dependabot/npm_and_yarn/braces-3.0.3 #287

Merge pull request #127 from mifi/dependabot/npm_and_yarn/braces-3.0.3

Merge pull request #127 from mifi/dependabot/npm_and_yarn/braces-3.0.3 #287

Workflow file for this run

name: Tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: yarn
- run: (cd example && yarn)
# - uses: mxschmitt/action-tmate@v3
- run: npm run build
- run: npm run tsc
- run: npm run lint
- run: npm test
- run: npm run predeploy
- if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages
folder: example/dist