Skip to content

Commit 8d506ba

Browse files
committed
Workflow for building on push
1 parent f904f28 commit 8d506ba

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
name: Build
3+
4+
on:
5+
push:
6+
branches: [ "develop" ]
7+
pull_request:
8+
branches: [ "develop" ]
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
name: Build
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Use Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: 18.x
21+
cache: 'npm'
22+
- name: Install Node.js dependencies
23+
run: npm install
24+
- name: Build Javascript & CSS
25+
env:
26+
# Fix for ERR_OSSL_EVP_UNSUPPORTED error caused by Webpack
27+
NODE_OPTIONS: --openssl-legacy-provider
28+
run: |
29+
npm run css-dev
30+
npm run webpack-dev

0 commit comments

Comments
 (0)