Skip to content

Fix css Selector / Typo (#9) #9

Fix css Selector / Typo (#9)

Fix css Selector / Typo (#9) #9

Workflow file for this run

name: Publish on NPM
on:
push:
branches:
- master
jobs:
release:
name: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
registry-url: 'https://registry.npmjs.org/'
- run: yarn install --frozen-lockfile
- run: yarn prettier-check
- run: yarn test
- name: Check for vulnerabilities
run: yarn audit
- run: yarn build
- name: Publish package
if: success()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release