main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
647 bytes
|
Line | |
---|
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 | with:
|
---|
25 | github_token: ${{ secrets.GITHUB_TOKEN }}
|
---|
26 | publish_dir: ./coverage/lcov-report
|
---|
Note:
See
TracBrowser
for help on using the repository browser.