Skip to content

Commit

Permalink
Use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodauria committed Jan 24, 2024
1 parent 3a19549 commit fc6ad12
Show file tree
Hide file tree
Showing 4 changed files with 2,222 additions and 941 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm run build
- run: npm install -g yarn && yarn install --frozen-lockfile && yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm run build
- run: npm install -g yarn && yarn install --frozen-lockfile && yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_MLAB_OTI }}'
projectId: mlab-sandbox
projectId: mlab-oti
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"shelljs": "^0.6.0"
},
"scripts": {
"build": "npm install -g firebase-tools gulp && gulp copy_libs",
"build": "npm install -g firebase-tools gulp && yarn install && yarn && gulp copy_libs",
"postinstall": "node -e \"try { require('fs').symlinkSync(require('path').resolve('node_modules/@bower_components'), 'app/libraries', 'junction') } catch (e) { }\"",
"pretest": "npm install"
},
Expand Down
Loading

0 comments on commit fc6ad12

Please sign in to comment.