Skip to content

Update actions/upload-artifact to v4 #109

Update actions/upload-artifact to v4

Update actions/upload-artifact to v4 #109

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
name: Node CI
on:
push:
branches: [main]
pull_request:
branches: [main, release/vNext]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.4
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run build --if-present
- run: npm test