Skip to content

Commit

Permalink
Merge pull request #17 from gabrielcsapo/add-volta
Browse files Browse the repository at this point in the history
  • Loading branch information
scalvert authored Apr 13, 2023
2 parents 457556b + 73c8510 commit 0f8ccf6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm i -g npm@7
- uses: volta-cli/action@v1
- run: npm ci
- run: npm run build --if-present
- run: npm test
Expand All @@ -33,9 +28,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16.x"
- uses: volta-cli/action@v1
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@
},
"dependencies": {
"medium-zoom": "^1.0.6"
},
"volta": {
"node": "16.20.0",
"npm": "7.24.2"
}
}

0 comments on commit 0f8ccf6

Please sign in to comment.