Skip to content

chore: Publish new version to npm #27

chore: Publish new version to npm

chore: Publish new version to npm #27

Workflow file for this run

name: test
permissions:
contents: read
on:
push:
branches: [main]
pull_request:
# Spend CI time only on latest ref
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm install
- name: run eslint
run: npm run eslint
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm install
- name: run tests
run: npm run test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}