From 2aef9fce4286fc476f48b297c84fe8d52bee3b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Galeran?= Date: Thu, 26 Oct 2023 14:22:51 +0200 Subject: [PATCH] Update publish-prisma-schema-wasm.yml --- .github/workflows/publish-prisma-schema-wasm.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-prisma-schema-wasm.yml b/.github/workflows/publish-prisma-schema-wasm.yml index e47d3f2d1dc6..f338164dc59a 100644 --- a/.github/workflows/publish-prisma-schema-wasm.yml +++ b/.github/workflows/publish-prisma-schema-wasm.yml @@ -39,11 +39,10 @@ jobs: node-version: '20.x' registry-url: 'https://registry.npmjs.org/' - - name: Update version in package.json - run: PACKAGE_DIR=$( nix run .#renderPrismaSchemaWasmPackage ${{ github.event.inputs.enginesWrapperVersion }}) - - - name: Publish @prisma/prisma-schema-wasm - run: npm publish "$PACKAGE_DIR" --access public --tag ${{ github.event.inputs.npmDistTag }} + - name: Update version in package.json & Publish @prisma/prisma-schema-wasm + run: + PACKAGE_DIR=$( nix run .#renderPrismaSchemaWasmPackage ${{ github.event.inputs.enginesWrapperVersion }}) + npm publish "$PACKAGE_DIR" --access public --tag ${{ github.event.inputs.npmDistTag }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}