Skip to content

Commit

Permalink
ci: schema wasm, revert action to Node v14 for lack of other idea (#4393
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Jolg42 authored Oct 27, 2023
1 parent 6dda9d7 commit a9694da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-prisma-schema-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '14.x'

# This is needed to be done manually because of `PACKAGE_DIR` used later
- name: Set up NPM token for publishing later
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Update version in package.json & Publish @prisma/prisma-schema-wasm
run:
run:
# Update version in package.json and return directory for later usage
PACKAGE_DIR=$( nix run .#renderPrismaSchemaWasmPackage ${{ github.event.inputs.enginesWrapperVersion }})
PACKAGE_DIR=$( nix run .#renderPrismaSchemaWasmPackage ${{ github.event.inputs.enginesWrapperVersion }})
npm publish "$PACKAGE_DIR" --access public --tag ${{ github.event.inputs.npmDistTag }}
env:
# Required for publishing
Expand Down

0 comments on commit a9694da

Please sign in to comment.