Skip to content

v1.0.9

v1.0.9 #10

Workflow file for this run

name: CD
on:
release:
types: [ released ]
jobs:
publish:
name: Publish
environment: npm
runs-on: ubuntu-latest
steps:
- name: Check out branch
uses: actions/checkout@v3
- name: Setup environment and dependencies
uses: ./.github/actions/setup
- name: Create .env file
uses: SpicyPizza/[email protected]
with:
envkey_BUILD: production
envkey_DEBUG: false
envkey_SENTRY_DSN_TOKEN: ${{ secrets.SENTRY_DSN_TOKEN }}
file_name: .env
- name: Build lib
shell: bash
run: pnpm run build:lib
- name: Publish package
shell: bash
run: pnpm publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}