We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da38874 + c4860c7 commit b0a3ad4Copy full SHA for b0a3ad4
.github/workflows/webpack.yml
@@ -0,0 +1,34 @@
1
+name: NodeJS with Webpack
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [16.x]
16
17
+ steps:
18
+ - uses: actions/checkout@v3
19
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
25
+ - name: Build
26
+ run: |
27
+ npm install
28
+ npx webpack
29
30
+ - name: Deploy to GH Pages 🚀
31
+ uses: peaceiris/actions-gh-pages@v3
32
33
+ github_token: ${{ secrets.GITHUB_TOKEN }}
34
+ publish_dir: dist
0 commit comments