Skip to content
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bd8da57
test github actions for ci
andrasq Apr 23, 2023
59fea6e
test: fix ci syntax
andrasq Apr 23, 2023
02fdd80
test: fix ci syntax again
andrasq Apr 23, 2023
8b1e4df
test: rename workflow file to .yml
andrasq Apr 23, 2023
dbbdb35
test: explicitly trigger ci for ar-test
andrasq Apr 23, 2023
b0fb008
test: try testing with just 16.8.0
andrasq Apr 23, 2023
0f82b6b
test: try quoting the version number
andrasq Apr 23, 2023
67dbce8
test: better workflow step names
andrasq Apr 23, 2023
c70e56e
test: try node 16.x
andrasq Apr 23, 2023
ebee56f
test: try node 16 not from the matrix
andrasq Apr 23, 2023
2b11f45
test: try a stripped-down mini workflow
andrasq Apr 23, 2023
4b50aa6
test: too minimal
andrasq Apr 23, 2023
49754f6
test: fix syntax
andrasq Apr 23, 2023
8c2e73a
test: fix syntax again
andrasq Apr 23, 2023
b1601c3
test: that succeeded, but produced no output
andrasq Apr 23, 2023
a5edf2b
test: fix syntax (backticks)
andrasq Apr 23, 2023
e1311b3
test: fix syntax (backticks)
andrasq Apr 23, 2023
b0de8b7
test: try node 10 to force an error
andrasq Apr 23, 2023
ab13f30
test: try multiple versions
andrasq Apr 23, 2023
5ff0a1b
test: try coverage too
andrasq Apr 23, 2023
7bc55f3
test: report coverage with coverallsapp/github-action@v1.1.2
andrasq Apr 23, 2023
a74147e
test: clean up ci workflow
andrasq Apr 23, 2023
d9b932a
test: improvise syntax
andrasq Apr 23, 2023
6793ffb
test: better syntax for conditional section
andrasq Apr 23, 2023
b435fae
test: trigger on all branches
andrasq Apr 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: nodejs ci
on:
push:
# branches: [ $default-branch, ar-test ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 5.8.0, 6.x, 10.x, 12.x, 16.x ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm install -g qnit npm@2.15.0
- run: npm test

- name: coverage
if: ${{ matrix.node == '5.8.0' }}
run: |
# test `node -v` = '5.8.0' || exit
npm install -g nyc@8.4.0
npm run coverage
- name: upload coverage
if: ${{ matrix.node == '5.8.0' }}
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ github.token }}