Skip to content

fix document access, use declare for fake class #15

fix document access, use declare for fake class

fix document access, use declare for fake class #15

Workflow file for this run

name: Pipeline
on: push
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org
- run: npm install
- run: npm run lint
- run: npm run format-check
- run: npm run build
- run: npx playwright install --with-deps
- run: npm test
env:
CI: true
publish:
if: github.ref == 'refs/heads/main'
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org
- run: npm install
- run: npm run build
- run: npm publish || echo "Already published"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}