applying package updates #267
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
name: Prime | |
on: | |
push: | |
branches: | |
- master | |
- official/** | |
jobs: | |
prime-build: | |
name: Prime Build | |
runs-on: ${{ matrix.os }} | |
if: github.repository == 'ot-builder/monorepo' | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] # All operating systems | |
node-version: [lts/*, latest] # Current and LTS. No history versions | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Building | |
run: | | |
npm run init:prod | |
npm run build:prod | |
env: | |
CI: true | |
prime-ut: | |
name: Prime UT | |
runs-on: ${{ matrix.os }} | |
if: github.repository == 'ot-builder/monorepo' | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] # All operating systems | |
node-version: [lts/*, latest] # Current and LTS. No history versions | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Building | |
run: | | |
npm run init | |
npm run build | |
env: | |
CI: true | |
- name: Unit test | |
run: | | |
npm run test | |
env: | |
CI: true |