-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (31 loc) · 1.12 KB
/
build_javascript.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Compile the JS code
on:
workflow_dispatch:
workflow_call:
jobs:
build-js:
runs-on: ubuntu-latest
name: 🔨 Compile the JS files
steps:
- name: ⏳ Check out repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: ⏳ Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
working-directory: './dashboard'
name: ⏳ Install JS dependencies
- run: npm install -g @quasar/cli
name: ⏳ Install the Quasar CLI
- run: quasar build
working-directory: './dashboard'
name: 🔨 Build the JS files
- name: 💾 Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[CI - JS Files] Compile JS files for production.'
skip_fetch: true