/[sudobot]/trunk/.github/workflows/build.yml
ViewVC logotype

Diff of /trunk/.github/workflows/build.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 91 by rakin, Mon Jul 29 17:28:34 2024 UTC revision 394 by rakin, Mon Jul 29 17:30:00 2024 UTC
# Line 12  jobs: Line 12  jobs:
12    
13      strategy:      strategy:
14        matrix:        matrix:
15          node-version: [14.x, 16.x]          node-version: [16.x, 18.x]
16          # See supported Node.js release schedule at https://nodejs.org/en/about/releases/          # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17    
18      steps:      steps:
19      - uses: actions/checkout@v3      - uses: actions/checkout@v3
20        
21      - name: Use Node.js ${{ matrix.node-version }}      - name: Use Node.js ${{ matrix.node-version }}
22        uses: actions/setup-node@v3        uses: actions/setup-node@v3
23        with:        with:
24          node-version: ${{ matrix.node-version }}          node-version: ${{ matrix.node-version }}
25          cache: 'npm'      
26      - run: npm update      - name: "Install Dependencies"
27      - run: npm run build --if-present        run: npm install
28      - run: npm run test --if-present  
29        - name: "Install Dev Dependencies"
30          run: npm install --dev
31    
32        - name: "ESLint"
33          run: npm run lint || echo "ESLint Failed"
34    
35        - name: "Build"
36          run: npm run build --if-present
37    
38        - name: "Run Test Suites"
39          run: npm run test --if-present

Legend:
Removed from v.91  
changed lines
  Added in v.394

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26