Skip to content

Commit

Permalink
Deployment fix (finos#1189)
Browse files Browse the repository at this point in the history
* Ensure the elm-tooling install doesn't happen after install when published

* Update to actions/cache@v4
  • Loading branch information
DamianReeves authored Sep 6, 2024
1 parent 7e7948f commit 1271044
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Cache NPM
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Cache Elm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.elm
key: ${{ runner.os }}-elm-${{ hashFiles('**/elm.json') }}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"main": "lib/dist/main.js",
"module": "es6",
"scripts": {
"prepare": "npm run setup-elm-tooling",
"clean": "gulp clean",
"test": "gulp test",
"test-morphir-ir-typescript": "gulp testMorphirIRTypeScript",
Expand All @@ -23,8 +24,7 @@
"build-cli2": "gulp buildCLI2",
"test-coverage": "elm-coverage src/ --open",
"build-value-editor": "elm make cli/src/Morphir/Web/Editor.elm --output=cli/web/valueEditor.js",
"setup-elm-tooling": "elm-tooling install",
"postinstall": "elm-tooling install"
"setup-elm-tooling": "elm-tooling install"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1271044

Please sign in to comment.