There was an error while loading. Please reload this page.
1 parent d8c078b commit 4a023e5Copy full SHA for 4a023e5
1 file changed
‎.github/workflows/gh-pages.yml‎
@@ -0,0 +1,26 @@
1
+name: Node.js CI
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
7
+jobs:
8
+ gh-pages:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ node-version: [20.x]
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Use Node.js ${{ matrix.node-version }}
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: ${{ matrix.node-version }}
19
+ cache: yarn
20
+ - run: yarn install --frozen-lockfile
21
+ - run: yarn test --coverage
22
+ - name: Publish to gh-pages
23
+ uses: peaceiris/actions-gh-pages@v3
24
25
+ github_token: ${{ secrets.GITHUB_TOKEN }}
26
+ publish_dir: ./coverage/lcov-report
0 commit comments