Skip to content

Commit

Permalink
features: update Webpack and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Sep 22, 2023
1 parent 384dc5d commit 0b449d4
Show file tree
Hide file tree
Showing 164 changed files with 67,006 additions and 86,187 deletions.
195 changes: 194 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,197 @@ jobs:
with:
name: PiratePig
path: demos/PiratePig/dist
if-no-files-found: error
if-no-files-found: error
- name: Build features/display/AddingAnimation
working-directory: features/display/AddingAnimation
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: AddingAnimation
path: features/display/AddingAnimation/dist
if-no-files-found: error
- name: Build features/display/CustomRendering
working-directory: features/display/CustomRendering
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: CustomRendering
path: features/display/CustomRendering/dist
if-no-files-found: error
- name: Build features/display/DisplayingABitmap
working-directory: features/display/DisplayingABitmap
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: DisplayingABitmap
path: features/display/DisplayingABitmap/dist
if-no-files-found: error
- name: Build features/display/DrawingShapes
working-directory: features/display/DrawingShapes
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: DrawingShapes
path: features/display/DrawingShapes/dist
if-no-files-found: error
- name: Build features/display/UsingBitmapData
working-directory: features/display/UsingBitmapData
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: UsingBitmapData
path: features/display/UsingBitmapData/dist
if-no-files-found: error
- name: Build features/display/UsingSWFAssets
working-directory: features/display/UsingSWFAssets
# TODO: remove --force when swf-loader is updated
run: |
npm ci --force
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: UsingSWFAssets
path: features/display/UsingSWFAssets/dist
if-no-files-found: error
- name: Build features/display3D/HelloTriangle
working-directory: features/display3D/HelloTriangle
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: HelloTriangle
path: features/display3D/HelloTriangle/dist
if-no-files-found: error
- name: Build features/display3D/Stage3DCamera
working-directory: features/display3D/Stage3DCamera
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: Stage3DCamera
path: features/display3D/Stage3DCamera/dist
if-no-files-found: error
- name: Build features/display3D/Stage3DMipmap
working-directory: features/display3D/Stage3DMipmap
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: Stage3DMipmap
path: features/display3D/Stage3DMipmap/dist
if-no-files-found: error
- name: Build features/events/CreatingAMainLoop
working-directory: features/events/CreatingAMainLoop
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: CreatingAMainLoop
path: features/events/CreatingAMainLoop/dist
if-no-files-found: error
- name: Build features/events/CreatingCustomEvents
working-directory: features/events/CreatingCustomEvents
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: CreatingCustomEvents
path: features/events/CreatingCustomEvents/dist
if-no-files-found: error
- name: Build features/events/HandlingKeyboardEvents
working-directory: features/events/HandlingKeyboardEvents
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: HandlingKeyboardEvents
path: features/events/HandlingKeyboardEvents/dist
if-no-files-found: error
- name: Build features/events/HandlingMouseEvents
working-directory: features/events/HandlingMouseEvents
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: HandlingMouseEvents
path: features/events/HandlingMouseEvents/dist
if-no-files-found: error
- name: Build features/media/PlayingSound
working-directory: features/media/PlayingSound
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: PlayingSound
path: features/media/PlayingSound/dist
if-no-files-found: error
- name: Build features/media/PlayingVideo
working-directory: features/media/PlayingVideo
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: PlayingVideo
path: features/media/PlayingVideo/dist
if-no-files-found: error
- name: Build features/text/AddingText
working-directory: features/text/AddingText
run: |
npm ci
npm run build:prod
env:
CI: true
- uses: actions/upload-artifact@v3
with:
name: AddingText
path: features/text/AddingText/dist
if-no-files-found: error
4 changes: 2 additions & 2 deletions features/display/AddingAnimation/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
node_modules/
src/app.js
dist/app.js
dist/
*.map
Loading

0 comments on commit 0b449d4

Please sign in to comment.