Skip to content

Commit

Permalink
Use volta to pin Node and yarn versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Apr 21, 2020
1 parent 8ed1765 commit fbb2859
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: volta-cli@action@v1
with:
node-version: 10.x
- run: yarn install --frozen-lockfile
Expand All @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: volta-cli@action@v1
with:
node-version: 10.x
- run: yarn install --no-lockfile
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: volta-cli@action@v1
with:
node-version: 12.x
- name: install dependencies
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,9 @@
"github": {
"release": true
}
},
"volta": {
"node": "10.20.1",
"yarn": "1.22.4"
}
}

0 comments on commit fbb2859

Please sign in to comment.