Skip to content

Commit

Permalink
trying custom action
Browse files Browse the repository at this point in the history
  • Loading branch information
grantnelson-wf committed Jun 14, 2024
1 parent bea3282 commit 47ef78a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup-gopherjs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ runs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup Node.js
shell: bash
run: |
# Make nodejs able to require installed modules from any working path
echo "NODE_PATH=$(npm root)" >> $GITHUB_ENV
# Extra flags to avoid installing node-syscall.
npm install --no-optional --no-package-lock
- name: Fix TEMP variable
shell: bash
if: ${{ inputs.os }} == 'windows-latest'
run: |
echo "SOURCE_MAP_SUPPORT=false" >> $env:GITHUB_ENV
Expand All @@ -30,8 +32,10 @@ runs:
echo "TMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
echo "TMPDIR=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
- name: Install GopherJS
shell: bash
run: go install -v
- name: Setup information
shell: bash
run: |
echo ::notice::$(go version)
echo ::notice::$(node -v)
Expand Down

0 comments on commit 47ef78a

Please sign in to comment.