Skip to content

Commit

Permalink
fix(*): use npx json to set distribution type (#443)
Browse files Browse the repository at this point in the history
`npm pkg` is not available until npm 7.20
  • Loading branch information
lsndr authored Aug 23, 2023
1 parent dd304d1 commit 373c785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
version: ${{ matrix.node }}

- name: Set distribution
run: npm pkg set brightCli.distribution=${{ matrix.target }}-executable
run: npx json -I -f package.json -e "this.brightCli.distribution='${{ matrix.target }}-executable'"

- name: Build executable file
run: npm run build:pkg -- -t node${{ matrix.node }}-${{ matrix.target }}-x64
Expand Down

0 comments on commit 373c785

Please sign in to comment.