Skip to content

Support for React 19 #20

Support for React 19

Support for React 19 #20

Workflow file for this run

name: Build And Publish Package
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
release:
types: [published]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Scm
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/gallium'
registry-url: 'https://registry.npmjs.org'
- name: Run Tests
run: |
npm ci
npm run test
- name: Publish Package to npmjs
if: github.event.action == 'published'
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}