Skip to content

Merge pull request #6721 from easy-mj/automated-cherry-pick-of-#6717-… #5096

Merge pull request #6721 from easy-mj/automated-cherry-pick-of-#6717-…

Merge pull request #6721 from easy-mj/automated-cherry-pick-of-#6717-… #5096

Workflow file for this run

name: FE CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
#node-version: [10.x, 12.x]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and build
run: |
yarn install
./scripts/setup.sh
yarn run build
#yarn run test
env:
CI: true
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/web
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: Dockerfile