|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
|---|
| 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|---|
| 3 |
|
|---|
| 4 | name: Node.js CI
|
|---|
| 5 |
|
|---|
| 6 | on:
|
|---|
| 7 | push:
|
|---|
| 8 | branches: [main]
|
|---|
| 9 | pull_request:
|
|---|
| 10 | branches: [main]
|
|---|
| 11 |
|
|---|
| 12 | jobs:
|
|---|
| 13 | build:
|
|---|
| 14 | runs-on: ubuntu-latest
|
|---|
| 15 |
|
|---|
| 16 | strategy:
|
|---|
| 17 | matrix:
|
|---|
| 18 | node-version:
|
|---|
| 19 | [
|
|---|
| 20 | "10.0",
|
|---|
| 21 | "10.19",
|
|---|
| 22 | "12.4",
|
|---|
| 23 | "12.8",
|
|---|
| 24 | "13.11",
|
|---|
| 25 | "14.3",
|
|---|
| 26 | "14",
|
|---|
| 27 | "15",
|
|---|
| 28 | "16.10",
|
|---|
| 29 | "16.11",
|
|---|
| 30 | "17",
|
|---|
| 31 | "18.19",
|
|---|
| 32 | "18.20",
|
|---|
| 33 | "19",
|
|---|
| 34 | "20.9",
|
|---|
| 35 | "20.10",
|
|---|
| 36 | "21",
|
|---|
| 37 | "22",
|
|---|
| 38 | ]
|
|---|
| 39 |
|
|---|
| 40 | steps:
|
|---|
| 41 | - uses: actions/checkout@v2
|
|---|
| 42 | - name: Use Node.js latest
|
|---|
| 43 | uses: actions/setup-node@v1
|
|---|
| 44 | - run: npm install
|
|---|
| 45 | - name: Use Node.js ${{ matrix.node-version }}
|
|---|
| 46 | uses: actions/setup-node@v1
|
|---|
| 47 | with:
|
|---|
| 48 | node-version: ${{ matrix.node-version }}
|
|---|
| 49 | - run: npm test
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.