Skip to content

v3.4.1 🌈

v3.4.1 🌈 #18

name: Publish Packages
on:
release:
types: [published]
jobs:
check-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies
run: npm ci
- name: Build Project
run: npm run build
- name: Tests
working-directory: package
run: npm run test:coverage
- name: Publish
working-directory: package
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}}