Merge pull request #270 from proto-kit/feature/release-develop #1
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
name: Release NPM Packages | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- develop | ||
jobs: | ||
release: | ||
Check failure on line 10 in .github/workflows/release-develop.yml
|
||
runs-on: ubuntu-latest | ||
needs: install | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
- name: "Install dependencies" | ||
run: npm ci --workspaces --include-workspace-root --force | ||
- name: "Build" | ||
run: npm run build | ||
- name: Run Lerna Release | ||
run: npm run publish:canary | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |