Skip to content

Commit 18fddc8

Browse files
authored
fix: change css processing from installation to npm publishing (#153)
1 parent 20af921 commit 18fddc8

File tree

5 files changed

+1558
-47
lines changed

5 files changed

+1558
-47
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#We need something more sophisticated long term but for now adding simple tests that just runs the generation
2+
name: Use the template with the generator
3+
4+
on:
5+
pull_request:
6+
types: [opened, reopened, synchronize, ready_for_review]
7+
8+
jobs:
9+
test:
10+
if: github.event.pull_request.draft == false
11+
name: Generation with generator
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v2
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: 14
20+
- name: Install dependencies
21+
run: NODE_ENV=production npm install
22+
- name: Install generator
23+
run: npm i @asyncapi/generator
24+
- name: Run generation
25+
run: node_modules/@asyncapi/generator/cli.js https://raw.githubusercontent.com/asyncapi/generator/v1.1.5/test/docs/dummy.yml ./ -o test/output --force-write

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
node_modules
33
test/output
44
output
5-
template/css/main.min.css

0 commit comments

Comments
 (0)