Skip to content

Commit 3d6635d

Browse files
Merge pull request #15 from mig8447/main
ci: add template workflow
2 parents bb0c301 + 4f54889 commit 3d6635d

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [16.x, 18.x]
20+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: 'npm'
29+
- run: npm ci
30+
- run: npm run build --if-present
31+
- run: npm test

doc/user/quick-erd.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ view emp_v departments employees
157157

158158
By default, the diagram uses a neutral color scheme as per below:
159159

160-
![Quick ERD Example](./assets/quick-erd-example.png)
160+
![Quick ERD Example](../../assets/quick-erd-example.png)
161161

162162
However, the diagram can be themed using CSS variables as shown in the example below:
163163

@@ -191,8 +191,8 @@ Which would produce the following:
191191

192192
- Light Color Scheme
193193

194-
![Light Quick ERD Example](./assets/quick-erd-light-example.png)
194+
![Light Quick ERD Example](../../assets/quick-erd-light-example.png)
195195

196196
- Dark Color Scheme
197197

198-
![Dark Quick ERD Example](./assets/quick-erd-dark-example.png)
198+
![Dark Quick ERD Example](../../assets/quick-erd-dark-example.png)
File renamed without changes.

test/regression_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ import error_msg_tests from './error_msg_tests.js'
150150
console.log('error_msg_tests.js');
151151

152152

153-
processFile('./test/', '');
153+
processFile('./test', '');
154154

155155
console.log("All tests are OK");
156156

0 commit comments

Comments
 (0)