Skip to content

move fix

move fix #245

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: yarn
env:
# https://github.com/actions/setup-node/issues/531#issuecomment-1820618025
SKIP_YARN_COREPACK_CHECK: true
- run: (cd example && yarn)
# - uses: mxschmitt/action-tmate@v3
- run: npm run build
- 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/[email protected]
with:
branch: gh-pages
folder: example/dist