Skip to content

fix: lockfile convert option #377

fix: lockfile convert option

fix: lockfile convert option #377

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 CI
on:
push:
branches: [ master, 6.x, 5.x, 4.x, 3.x ]
pull_request:
branches: [ master, 6.x, 5.x, 4.x, 3.x ]
jobs:
build:
strategy:
fail-fast: false
matrix:
node-version: [ 14.18.0, 14.x, 16.x, 18.x, 20.x ]
platform:
- os: ubuntu-latest
shell: bash
- os: windows-latest
shell: powershell
python-version: [ 3.7 ]
vs-version: [ 15.0 ]
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
env:
PYTHON_VERSION: ${{ matrix.python-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Set Windows environment
if: matrix.os == 'windows-latest'
uses: microsoft/[email protected]
with:
vs-version: ${{ matrix.vs-version }}
- name: Install dependencies
run: npm i
- name: Run CI
run: npm run ci
env:
NODE_OPTIONS: --max_old_space_size=6144
- name: Code Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}