Skip to content

3.1.1

3.1.1 #30

Workflow file for this run

name: PUBLISH
on:
push:
tags:
- 'v*'
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install packages
run: npm install
- name: Verify source
run: npm run preversion
- name: Build source
run: npm run build
- name: Publish packages to npm registry
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.REACT_DI_NPM_TOKEN}}