Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
GLPA_C0_GH_REF: ${{ github.ref }}
GLPA_C0_GH_REF_NAME: ${{ github.ref_name }}
GLPA_C0_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GLPA_C0_NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

- name: Find existing comment
uses: peter-evans/find-comment@v3
Expand Down
11 changes: 7 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,15 @@ npm-types:generate-graphql:


.npm-types:publish-graphql:
image: node:22.18.0
image: node:24.8.0
needs:
- npm-types:generate-graphql
variables:
NODE_AUTH_TOKEN: $C0_NODE_AUTH_TOKEN
GIT_STRATEGY: empty
NPM_CONFIG_PROVENANCE: "false"
id_tokens:
NPM_ID_TOKEN:
aud: "npm:registry.npmjs.org"
script:
- cd tooling/graphql/types
- npm ci
Expand All @@ -161,7 +164,7 @@ npm-types:publish-graphql-dry-run:
stage: test
script:
- !reference [.npm-types:publish-graphql, script]
- npm publish --dry-run
- npm publish --dry-run --tag latest
artifacts:
expire_in: 7 days
paths:
Expand All @@ -175,7 +178,7 @@ npm-types:publish-graphql:
stage: publish
script:
- !reference [ .npm-types:publish-graphql, script ]
- npm publish
- npm publish --tag latest
rules:
- if: $C0_GH_REF_NAME == "main"
when: manual
Expand Down