Skip to content

Commit

Permalink
attempt to fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorbanzade committed Feb 19, 2024
1 parent 6f64deb commit fb4f250
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 5 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,20 @@ jobs:
node-version: 20
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm ci
if: steps.changes.outputs.web == 'true'
- name: Install dependencies
run: |
npm install
npm -w web install
if: steps.changes.outputs.web == 'true'
- run: npm run build
if: steps.changes.outputs.web == 'true'
- name: Prepare final artifact
run: |
mkdir -p ./dist
mv ./web/out ./dist/
tar -zcf web.tar.gz ./dist
if: steps.changes.outputs.web == 'true'
- name: push web to aws
run: aws s3 cp web.tar.gz ${{ secrets.AWS_BUCKET }}/
if: steps.changes.outputs.web == 'true'
Expand Down
34 changes: 32 additions & 2 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion slides/cppcon21/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"export": "slidev export"
},
"devDependencies": {
"@iconify-json/heroicons-solid": "^1.1.8"
"@iconify-json/heroicons-solid": "^1.1.8",
"playwright-chromium": "^1.41.2"
}
}
3 changes: 2 additions & 1 deletion slides/cppcon23/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"export": "slidev export"
},
"devDependencies": {
"@iconify-json/heroicons": "^1.1.12"
"@iconify-json/heroicons": "^1.1.12",
"playwright-chromium": "^1.41.2"
},
"dependencies": {
"@iconify-json/bi": "^1.1.20",
Expand Down

0 comments on commit fb4f250

Please sign in to comment.