securityos/node_modules/emulators-ui/.github/workflows/npm-build.yml

29 lines
603 B
YAML
Raw Normal View History

2024-09-06 15:32:35 +00:00
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: build emulators-ui
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- run: yarn
- run: yarn run eslint . --ext ts,tsx --max-warnings 0
- run: yarn run gulp
- name: upload
uses: actions/upload-artifact@v3.0.0
with:
name: 'dist'
path: 'dist'