Skip to content

chore: updated documentation [skip-release] #24

chore: updated documentation [skip-release]

chore: updated documentation [skip-release] #24

Workflow file for this run

name: 'tests'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: 'Lint & Test Package'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install
- run: npm run dev:prepare
- run: npm run lint:es
- run: npm run lint:types
- run: npm run test
release:
name: 'Release to NPM registry'
needs: [ test ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm set //registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISHING_KEY }}
- run: npm install
- run: npm run dev:prepare
- name: Release
if: |
github.event_name == 'push' &&
!contains(github.event.head_commit.message, '[skip-release]')
run: npm run release:ci