Skip to content

[Master] Update publishing config to avoid resetting the "latest" ver… #1903

[Master] Update publishing config to avoid resetting the "latest" ver…

[Master] Update publishing config to avoid resetting the "latest" ver… #1903

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ main, master, beta, Release2.7 ]
pull_request:
branches: [ main, master, beta, Release2.7 ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16, 18]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install rollup -g
- run: npm install grunt-cli
- run: npm install
- run: node common/scripts/install-run-rush.js check
- run: node common/scripts/install-run-rush.js install
- run: npm run build --verbose
timeout-minutes: 10
- run: npm run test --verbose
timeout-minutes: 15