chore: upgrade tasks to node 20 #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------------------------------------------------------------------------- | |
# 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: '20.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: '20.x' | |
- run: npm run setup | |
- run: npm install | |
- run: npm run build | |
- run: npm test |