devtools-bp/.github/workflows/release.yml
2023-08-08 19:17:33 +02:00

21 lines
557 B
YAML

name: RELEASE
on: [workflow_dispatch]
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v3
- name: Install deps
run: npm ci --legacy-peer-deps
- name: Lint
run: npx nx run-many -t lint
- name: Test
run: npx nx run-many -t test --configuration=ci
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}