Skip to content

Commit

Permalink
Updates workflow with working version
Browse files Browse the repository at this point in the history
  • Loading branch information
amandasavluchinske committed Dec 18, 2023
1 parent 3793feb commit a3531f5
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,35 @@ jobs:
runs-on: ubuntu-latest
container:
image: node:18.19
env:
NODE_OPTIONS: --openssl-legacy-provider
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Node.js
run: |
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
npm install
npm run ci
- name: Unset NODE_OPTIONS
run: |
unset NODE_OPTIONS
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- "current"
- "lts"
- "20.10"
env:
NODE_OPTIONS: --openssl-legacy-provider
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Print Node.js version
Expand All @@ -45,4 +50,7 @@ jobs:
- name: Install dependencies and run tests
run: |
npm install
npm run ci
npm run ci
- name: Unset NODE_OPTIONS
run: |
unset NODE_OPTIONS

0 comments on commit a3531f5

Please sign in to comment.