Skip to content

Commit be42501

Browse files
committed
another way to install volta
1 parent 6d65691 commit be42501

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818

1919
deploy:
2020
# needs: test
21+
# if: github.ref == 'refs/heads/master'
2122
runs-on: 'ubuntu-latest'
2223
environment: 'gcp - project=sourcemapsio'
2324
steps:
@@ -39,8 +40,6 @@ jobs:
3940
name: Checkout
4041
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4142

42-
- uses: getsentry/action-setup-volta@e4939d337b83760d13a9d7030a6f68c9d0ee7581 # v2.0.0
43-
4443
- id: deploy
4544
name: 'Deploy to GCP Cloud Functions'
4645
env:
@@ -54,5 +53,7 @@ jobs:
5453
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
5554
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
5655
run: |
56+
curl https://get.volta.sh | bash
57+
volta setup
5758
make deploy
5859
.github/sentry-release.sh

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"singleQuote": true
3030
},
3131
"engines": {
32-
"node": "16.14.2"
32+
"node": ">=16.14.2"
3333
},
3434
"volta": {
3535
"node": "16.14.2",

0 commit comments

Comments
 (0)