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.
1 parent 79df517 commit 7ae0dddCopy full SHA for 7ae0ddd
.github/workflows/build-deploy.yml
@@ -0,0 +1,33 @@
1
+name: Node.js Build & Push
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ strategy:
15
+ matrix:
16
+ node-version: [18.x]
17
18
+ steps:
19
+ - uses: actions/checkout@v3
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ cache: 'npm'
25
+ - run: npm ci
26
+ - run: npm run build --if-present
27
+ - run: |
28
+ git config user.name baumannzone
29
+ git config user.email [email protected]
30
+ git add ./dist
31
+ git commit -m "[Bot] Push dist folder to deploy :v:"
32
+ git push origin build-deploy
33
0 commit comments