From 5983f6a508135716843ac496c85cd02b5a1b8e16 Mon Sep 17 00:00:00 2001 From: Tashi D Gyeltshen Date: Mon, 24 Jul 2023 10:26:03 -0400 Subject: [PATCH] Remove node <= 16. --- .github/workflows/main.yml | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 894783a..8be1443 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,14 +14,14 @@ jobs: timeout-minutes: 10 strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm install --legacy-peer-deps + - run: npm install - name: Run eslint run: npm run lint test-node: @@ -30,17 +30,17 @@ jobs: timeout-minutes: 10 strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Install npm dependencies - run: npm install --legacy-peer-deps + run: npm install - name: Run test with Node.js ${{ matrix.node-version }} env: CLIENT_SECRET_DB: ${{ secrets.CLIENT_SECRET_DB }} diff --git a/package.json b/package.json index dd32ff4..6cae15c 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "url": "https://digitalbazaar.com/" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "bugs": { "url": "https://github.com/w3c-ccg/vc-api-verifier-test-suite/issues"