Skip to content

Commit 2ff937f

Browse files
author
James Goldie
committed
Add CI/CDGithub Actions test workflow
1 parent 25c2ec1 commit 2ff937f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/check.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# workflow to test sverto
2+
3+
on:
4+
push:
5+
branches: [main, dev]
6+
pull_request:
7+
branches: [main, dev]
8+
9+
name: sverto-check
10+
11+
jobs:
12+
sverto-check:
13+
14+
runs-on: ["ubuntu-latest", "macos-latest", "windows-latest"]
15+
16+
env:
17+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- name: Install Quarto
23+
uses: quarto-dev/quarto-actions/setup@v2
24+
25+
- name: Install Node
26+
uses: actions/setup-node@v3
27+
with:
28+
node-version: "latest"
29+
30+
- name: Change into docs folder
31+
run: cd docs
32+
33+
- name: Install Sverto docs npm dependencies
34+
run: npm install
35+
36+
- name: Render sverto docs
37+
uses: quarto-dev/quarto-actions/render@v2

0 commit comments

Comments
 (0)