Skip to content

chore: upgrade tasks to node 20 #76

chore: upgrade tasks to node 20

chore: upgrade tasks to node 20 #76

Workflow file for this run

# -----------------------------------------------------------------------------------------------
# Copyright (c) Red Hat, Inc. All rights reserved.
# Licensed under the MIT License. See LICENSE file in the project root for license information.
# -----------------------------------------------------------------------------------------------
name: OpenShift VSTS CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
Linux:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '20', '16' ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm run setup
- run: npm install
- run: npm run compile
- run: npm test
Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '10.x'
- run: npm run setup
- run: npm install
- run: npm run build
- run: npm test
MacOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '10.x'
- run: npm run setup
- run: npm install
- run: npm run build
- run: npm test