-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error npx: command not found #74
Comments
Encountering the same issue, any updates? |
workflow file: name: Compile and Publish Web Assembly Edition
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
wasm:
runs-on: windows-latest
steps:
- name: disable git eol translation
run: git config --global core.autocrlf false
- name: checkout
uses: actions/checkout@v3
- name: Install Wrangler
run: |
node -v
npx --yes wrangler@3.28.2
- name: Install Rustup using win.rustup.rs
run: |
# Disable the download progress bar which can cause perf issues
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
.\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --default-toolchain=nightly
del rustup-init.exe
rustup target add x86_64-pc-windows-msvc --toolchain nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
shell: powershell
- name: Add mingw64 to path for x86_64-msvc
shell: bash
run: echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
- name: Add wasm-pack
shell: cmd
run: cargo install wasm-pack
- name: Build
shell: cmd
run: wasm-pack build --release --target web --out-dir nbtworkbench
- name: Publish
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: 'nbtworkbench'
directory: .
workingDirectory: './web'
wranglerVersion: 3.28.2 |
same problem here! Any updates? |
My job ran just fine until I set
My step options are straightforward.
FWIW, I'm new to GitHub Actions and Cloudflare Pages. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not working inside of container action :/
The text was updated successfully, but these errors were encountered: