v0.2.4 #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Release | |
on: | |
push: | |
tags: ["v*"] | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
build: | |
uses: ./.github/workflows/check.yml | |
secrets: inherit | |
release: | |
name: Release version | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: 🚧 Checkout code | |
uses: actions/checkout@v4 | |
- name: ♻️ NPM CI | |
run: npm ci | |
- name: 🛠 Build All packages | |
run: npm run lerna -- run build | |
- name: Publish | |
run: npm run lerna -- publish from-package -y |