Skip to content

Commit

Permalink
Update package json and install esy normally
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Mar 17, 2023
1 parent 088576a commit 9cf446f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 22 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/esy-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'

- name: Install esy
run: npm install --prefer-offline --audit false

- name: Expose esy as binary
if: runner.os == 'Windows'
run: echo "node_modules\.bin" >> $GITHUB_PATH

- name: Expose esy as binary
if: runner.os != 'Windows'
run: echo "node_modules/.bin" >> $GITHUB_PATH
run: npm install -g esy@0.6.12

- name: Restore global cache (~/.esy/source)
id: global-cache
Expand Down
23 changes: 13 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
],
"license": "MIT",
"homepage": "https://github.com/reasonml/reason",
"dependencies": {
"esy": "^0.6.12"
"devDependencies": {
"bs-platform": "1.9.3"
},
"scripts": {
"prepublishOnly": "cp .dune-for-prepublish dune && esy @jsoo && ./js/closurefy.sh"
Expand Down

0 comments on commit 9cf446f

Please sign in to comment.