Skip to content

Commit 7846631

Browse files
committed
revert: gh action changes
1 parent 1ff4a2e commit 7846631

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
- rosvik/test-release-2
76

87
permissions:
98
id-token: write
@@ -16,23 +15,23 @@ jobs:
1615
release-please:
1716
runs-on: ubuntu-latest
1817
steps:
19-
# - uses: googleapis/release-please-action@v4
20-
# id: release
21-
# with:
22-
# release-type: node
18+
- uses: googleapis/release-please-action@v4
19+
id: release
20+
with:
21+
release-type: node
2322
- uses: actions/checkout@v4
2423
# Ensure that a publication only occurs when a new release is created
25-
# if: ${{ steps.release.outputs.release_created }}
24+
if: ${{ steps.release.outputs.release_created }}
2625
- uses: actions/setup-node@v4
2726
with:
2827
node-version: 22
2928
registry-url: 'https://registry.npmjs.org'
30-
# if: ${{ steps.release.outputs.release_created }}
31-
- run: npm install -g npm@11 # 11.5.1 needed for OIDC / Trusted publish
32-
# if: ${{ steps.release.outputs.release_created }}
29+
if: ${{ steps.release.outputs.release_created }}
30+
- run: npm install -g npm@11 # 11.5.1 needed for OIDC / Trusted publishing
31+
if: ${{ steps.release.outputs.release_created }}
3332
- run: yarn install --frozen-lockfile
34-
# if: ${{ steps.release.outputs.release_created }}
33+
if: ${{ steps.release.outputs.release_created }}
3534
- run: yarn build
36-
# if: ${{ steps.release.outputs.release_created }}
35+
if: ${{ steps.release.outputs.release_created }}
3736
- run: npm publish --access public
38-
# if: ${{ steps.release.outputs.release_created }}
37+
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)