Skip to content

[Snyk] Security upgrade nuxt from 2.15.8 to 3.0.0 #634

[Snyk] Security upgrade nuxt from 2.15.8 to 3.0.0

[Snyk] Security upgrade nuxt from 2.15.8 to 3.0.0 #634

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
node-version: [14.x, 16.x]
experimental: [false]
include:
- node-version: 18.x
experimental: true
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-${{ matrix.node-version }}
- run: yarn install
- run: yarn run lint
- run: yarn run test:cov
- run: yarn run e2e:cov
- if: ${{ matrix.experimental }}
run: NODE_OPTIONS=--openssl-legacy-provider yarn run build
- if: ${{ !matrix.experimental }}
run: yarn run build