[Main] Include Config sync in publish group #2030
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
# 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: 20 | |
- run: npm run test --verbose | |
timeout-minutes: 30 |