Skip to content

Resolves peer dep conflicts #100

Resolves peer dep conflicts

Resolves peer dep conflicts #100

Workflow file for this run

name: Bundle and publish
on:
release:
types:
- published
jobs:
build:
if: "!github.event.release.prerelease"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
registry-url: https://registry.npmjs.org
- name: npm build and publish
run: |
npm ci --legacy-peer-deps
npm run update-templates
npm run build
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish --access public
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}