Update main.yml

This commit is contained in:
Francisco Hodge 2023-02-25 13:29:51 -05:00 committed by GitHub
parent b2872b7809
commit cde371dd83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ jobs:
if: contains(github.ref, 'master') if: contains(github.ref, 'master')
strategy: strategy:
matrix: matrix:
node-version: [16.x] node-version: [14.18]
os: [ubuntu-latest] os: [ubuntu-latest]
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
@ -22,6 +22,7 @@ jobs:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
- name: npm install, build, and test - name: npm install, build, and test
run: | run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm install npm install
npm run coverage npm run coverage