Skip to content

chore: update package.json #2

chore: update package.json

chore: update package.json #2

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn
# prepublish will check code format, lint code, run tests, generage coverage report, and build the project
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3