Skip to content

Dependency updates iteration 3 - upgrade jasmine and schematics #1720

Dependency updates iteration 3 - upgrade jasmine and schematics

Dependency updates iteration 3 - upgrade jasmine and schematics #1720

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ master, vNext, '[0-9]+.[0-9]+.x' ]
pull_request:
branches: [ master, vNext, '[0-9]+.[0-9]+.x' ]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3 #set credentials for every repository on the computer --global, so `New command` CLI tests pass
- run: |
git config --global user.name github-actions
git config --global user.email [email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 # Inbuilt cache for npm and yarn packages installation
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install packages
run: yarn --frozen-lockfile
- name: Test
run: |
yarn config set scripts-prepend-node-path auto
yarn test
- name: Generate coverage
if: matrix.node-version == '20.x'
run: yarn coverage
- name: Publish to coveralls.io
if: matrix.node-version == '20.x'
uses: coverallsapp/[email protected]
with:
github-token: ${{ github.token }}