Skip to content

Commit

Permalink
ci: pass flag via NODE_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Oct 28, 2024
1 parent d15e86e commit c0bf6cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: 23

- name: Fetch remote source
run: node --experimental-strip-types $(which npx) zx@latest https://raw.githubusercontent.com/webpod/zurk/refs/heads/main/src/scripts/build-from-remote.mts
run: NODE_OPTIONS="--experimental-strip-types" zx@latest https://raw.githubusercontent.com/webpod/zurk/refs/heads/main/src/scripts/build-from-remote.mts
env:
CTX: ${{ toJSON(github.event.inputs) }}

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/build-from-remote.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import assert from 'node:assert'
import process from 'node:process'
import { describe, it } from 'node:test'
import { $, tempdir, argv } from 'zx'
// import { $, tempdir, argv } from 'zx'

const MODE = argv.mode
const SECRETS = ['NPM_TOKEN', 'GH_TOKEN', 'GITHUB_TOKEN', 'AUTH_TOKEN']
Expand Down

0 comments on commit c0bf6cb

Please sign in to comment.