Skip to content

v19.1.0

v19.1.0 #21

Workflow file for this run

name: on-release
on:
release:
types: [released]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
always-auth: true
token: ${{ secrets.NPM_TOKEN }}
- uses: oven-sh/setup-bun@v1
- run: bun install --frozen-lockfile
- run: bun run build:cdk
- run: bun run build:material
- name: Publish CDK to npm
working-directory: dist/cdk
run: npm version ${{ github.ref_name }} && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Material to npm
working-directory: dist/material
run: npm version ${{ github.ref_name }} && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}