Skip to content

Options convert

Options convert #362

Workflow file for this run

name: build-vue
on:
pull_request:
paths:
- 'packages/vue/**'
- '.github/workflows/build-vue.yml'
jobs:
build-vue-spa:
runs-on: ubuntu-latest # todo: use whatever is on the DO droplet
steps:
- run: echo "🎉 The job was triggered by a ${{ github.event_name }} on commit ${{ github.SHA }}"
- name: Check out repository code
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install -g [email protected] # version? 1.22.17 -> 1.22.19 current
- run: npm install -g [email protected] # version? 3.22.1 -> 6.6.2 current
# Install Cypress system dependencies
- name: Install Cypress dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- run: lerna bootstrap
- name: Build and Test
run: |
printf "${{ secrets.VUE_ENV }}" > ./packages/vue/.env.production
cd ./packages/vue
yarn build
yarn test:unit
# yarn test:e2e:headless