Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit f5c7b64

Browse files
committed
fix npm release
1 parent 228aa14 commit f5c7b64

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/napi-release.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ jobs:
154154
- name: publish bin
155155
working-directory: bin/npm
156156
run: |
157+
TAG_NAME=${GITHUB_REF#refs/tags/}
158+
npm install --save-exact @graphql-conductor/lib@$TAG_NAME
157159
npm config set provenance true
158160
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
159161
npm publish --access public

bin/npm/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphql-conductor/bin",
3-
"version": "0.0.4-alpha.0",
3+
"version": "0.0.0-placeholder.0",
44
"description": "",
55
"main": "index.js",
66
"bin": {
@@ -12,6 +12,6 @@
1212
"author": "",
1313
"license": "ISC",
1414
"dependencies": {
15-
"@graphql-conductor/lib": "0.0.4-alpha.0"
15+
"@graphql-conductor/lib": "0.0.0-placeholder.0"
1616
}
1717
}

libs/napi/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphql-conductor/lib",
3-
"version": "0.0.4-alpha.0",
3+
"version": "0.0.0-placeholder.0",
44
"main": "artifacts/index.js",
55
"types": "artifacts/index.d.ts",
66
"napi": {

0 commit comments

Comments
 (0)