main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
459 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | name: Build & Test
|
---|
| 2 |
|
---|
| 3 | on:
|
---|
| 4 | push:
|
---|
| 5 | branches: [ master ]
|
---|
| 6 | pull_request:
|
---|
| 7 | branches: [ master ]
|
---|
| 8 |
|
---|
| 9 | jobs:
|
---|
| 10 | build:
|
---|
| 11 | runs-on: ubuntu-latest
|
---|
| 12 |
|
---|
| 13 | strategy:
|
---|
| 14 | matrix:
|
---|
| 15 | node-version: [16.x, 18.x, 20.x]
|
---|
| 16 |
|
---|
| 17 | steps:
|
---|
| 18 | - uses: actions/checkout@v3
|
---|
| 19 | - name: Use Node.js ${{ matrix.node-version }}
|
---|
| 20 | uses: actions/setup-node@v3
|
---|
| 21 | with:
|
---|
| 22 | node-version: ${{ matrix.node-version }}
|
---|
| 23 | - run: yarn install
|
---|
| 24 | - run: yarn test |
---|
Note:
See
TracBrowser
for help on using the repository browser.