File tree Expand file tree Collapse file tree
query-compiler/query-compiler-wasm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ run-name: npm - release @prisma/prisma-schema-wasm@${{ github.event.inputs.engin
33
44concurrency : publish-prisma-schema-wasm
55
6+ permissions :
7+ id-token : write # required for OIDC / Trusted Publishers
8+
69on :
710 # usually triggered via GH Actions Workflow in prisma/engines-wrapper repo
811 workflow_dispatch :
4245 with :
4346 node-version : ' 20.x'
4447
45- # This is needed to be done manually because of `PACKAGE_DIR` used later
46- - name : Set up NPM token for publishing later
47- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
48+ - name : Update npm to support Trusted Publishers
49+ run : npm install -g npm@^11.5
4850
4951 - name : Publish @prisma/prisma-schema-wasm
5052 run : npm publish --access public --tag ${{ github.event.inputs.npmDistTag }}
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ run-name: npm - release @prisma/query-compiler-wasm@${{ github.event.inputs.pack
33
44concurrency : publish-query-compiler-wasm
55
6+ permissions :
7+ id-token : write # required for OIDC / Trusted Publishers
8+
69on :
710 # usually triggered via GH Actions Workflow in prisma/engines-wrapper repo
811 workflow_dispatch :
4245 with :
4346 node-version : ' 20.x'
4447
45- - name : Set up NPM token for publishing
46- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
48+ - name : Update npm to support Trusted Publishers
49+ run : npm install -g npm@^11.5
4750
4851 - name : Publish @prisma/query-compiler-wasm
4952 run : npm publish --access public --tag ${{ github.event.inputs.npmDistTag }}
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ run-name: npm - release @prisma/schema-engine-wasm@${{ github.event.inputs.packa
33
44concurrency : publish-schema-engine-wasm
55
6+ permissions :
7+ id-token : write # required for OIDC / Trusted Publishers
8+
69on :
710 # usually triggered via GH Actions Workflow in prisma/engines-wrapper repo
811 workflow_dispatch :
4346 with :
4447 node-version : ' 20.x'
4548
46- - name : Set up NPM token for publishing
47- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
49+ - name : Update npm to support Trusted Publishers
50+ run : npm install -g npm@^11.5
4851
4952 - name : Publish @prisma/schema-engine-wasm
5053 run : npm publish --access public --tag ${{ github.event.inputs.npmDistTag }}
Original file line number Diff line number Diff line change 11{
22 "name" : " @prisma/query-compiler-wasm" ,
33 "version" : " 0.0.0" ,
4- "type" : " module"
4+ "type" : " module" ,
5+ "repository" : {
6+ "type" : " git" ,
7+ "url" : " https://github.com/prisma/prisma-engines" ,
8+ "directory" : " query-compiler/query-compiler-wasm"
9+ }
510}
You can’t perform that action at this time.
0 commit comments