Skip to content

Update vuejs

Update vuejs #1305

Workflow file for this run

name: StockazIO Frontend
on:
push:
branches: [ master ]
paths:
- 'front/**'
- '.github/**'
pull_request:
branches: [ master ]
paths:
- 'front/**'
- '.github/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
cd front
yarn install
- name: Check linting
run: |
cd front
yarn lint --no-fix
continue-on-error: true
- name: Test build
env:
NJS: ${{ matrix.node-version }}
run: |
cd front
node --max_old_space_size=16384 ./node_modules/vite/bin/vite.js build