We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d3d11 commit 016746eCopy full SHA for 016746e
.github/workflows/backend-release-pr.yml
@@ -23,9 +23,6 @@ permissions:
23
jobs:
24
releaseIt:
25
runs-on: ubuntu-latest
26
- defaults:
27
- run:
28
- working-directory: services/backend
29
steps:
30
- uses: actions/checkout@v4
31
with:
@@ -41,8 +38,16 @@ jobs:
41
38
42
39
node-version: 20
43
40
cache: npm
44
- - run: npm ci
+
+ # Install dependencies from root (same as frontend pipeline)
+ - name: Install dependencies
+ run: |
45
+ npm ci || {
46
+ echo "npm ci failed, trying clean install..."
47
+ npm install --no-optional
48
+ }
49
- name: Prepare release
50
+ working-directory: services/backend
51
env:
52
GITHUB_TOKEN: ${{ secrets.APP_INSTALLATION_TOKEN }}
53
TYPE_ARG: ${{ fromJSON('{"patch":"patch", "minor":"minor", "major":"major"}')[github.event.inputs.type] }}
0 commit comments