Skip to content

chore: upgrade nestjs to v11 and improve infrastructure (#1212) #1

chore: upgrade nestjs to v11 and improve infrastructure (#1212)

chore: upgrade nestjs to v11 and improve infrastructure (#1212) #1

Workflow file for this run

name: Release
on:
push:
branches: ['main']
paths:
- '.changeset/**'
- 'CHANGELOG.md'
pull_request:
branches: ['main']
paths:
- '.changeset/**'
- 'CHANGELOG.md'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
concurrency:
group: release-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
coverage:
uses: ./.github/workflows/coverage.yml

Check failure on line 26 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

error parsing called workflow ".github/workflows/publish.yml" -> "./.github/workflows/coverage.yml" : workflow is not reusable as it is missing a `on.workflow_call` trigger
release:
needs: [coverage]
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Build Environment
uses: ./.github/actions/ci-setup
- name: Check for changesets
run: pnpm changeset status --since=main
- name: Build
run: pnpm run build
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
commit: "chore: version packages"
title: "chore: version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}