Skip to content

Commit

Permalink
Build with npm
Browse files Browse the repository at this point in the history
This was always the original intention.  We should not even have the
yarn.lock in here at all, actually.
  • Loading branch information
code-asher committed Sep 22, 2023
1 parent abbd6f0 commit d354b6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,16 @@ jobs:
- name: Decompress npm package
run: tar -xzf package.tar.gz

# NOTE@jsjoeio - npm fails here
# so use yarn
- name: Build standalone release
run: yarn release:standalone
run: npm run release:standalone

- name: Replace node with cross-compile equivalent
run: |
wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-${NPM_CONFIG_ARCH}.tar.xz
tar -xf node-${NODE_VERSION}-linux-${NPM_CONFIG_ARCH}.tar.xz node-${NODE_VERSION}-linux-${NPM_CONFIG_ARCH}/bin/node --strip-components=2
mv ./node ./release-standalone/lib/node
# NOTE@jsjoeio - we do this so we can strip out the v
# NOTE@jsjoeio - we do this so we can strip cut the v
# i.e. v4.9.1 -> 4.9.1
- name: Get and set VERSION
run: |
Expand Down

0 comments on commit d354b6f

Please sign in to comment.