Parent Directory
|
Revision Log
chore: add old version archive branches (2.x to 9.x-dev)
1 | rakinar2 | 577 | # This workflow will do a clean installation of node dependencies, cache/restore them, 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: Build | ||
5 | |||
6 | on: [ push, pull_request ] | ||
7 | |||
8 | jobs: | ||
9 | build: | ||
10 | |||
11 | runs-on: ubuntu-latest | ||
12 | |||
13 | strategy: | ||
14 | matrix: | ||
15 | node-version: [14.x, 16.x] | ||
16 | # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
17 | |||
18 | steps: | ||
19 | - uses: actions/checkout@v3 | ||
20 | |||
21 | - name: Use Node.js ${{ matrix.node-version }} | ||
22 | uses: actions/setup-node@v3 | ||
23 | with: | ||
24 | node-version: ${{ matrix.node-version }} | ||
25 | |||
26 | - name: "Install Dependencies" | ||
27 | run: npm install | ||
28 | |||
29 | - name: "Install Dev Dependencies" | ||
30 | run: npm install --dev | ||
31 | |||
32 | - name: "Build" | ||
33 | run: npm run build --if-present | ||
34 | |||
35 | - name: "Run Test Suites" | ||
36 | run: npm run test --if-present |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |