From 3c4f5584746ff390721e0c51b0e08f992db0ccf0 Mon Sep 17 00:00:00 2001 From: Ari Rubinstein Date: Tue, 21 Feb 2023 08:56:36 -0800 Subject: [PATCH] fix: require lts 16 due to openssl changes and webpack4 dep via vuepress --- .github/workflows/test-build.yml | 10 +++++++++- .github/workflows/test-snippets.yml | 8 ++++---- .node-version | 2 ++ .nvmrc | 1 + package.json | 2 +- 5 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 .node-version create mode 120000 .nvmrc diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index a0bc722c0..727401cf1 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -11,9 +11,17 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16.x] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} - name: Install and Build run: | diff --git a/.github/workflows/test-snippets.yml b/.github/workflows/test-snippets.yml index 5e366408c..271da5195 100644 --- a/.github/workflows/test-snippets.yml +++ b/.github/workflows/test-snippets.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Select a branch on agoric-sdk to test against by adding text to the body of the # pull request. For example: #agoric-sdk-branch: zoe-release-0.7.0 @@ -35,14 +35,14 @@ jobs: return agoricSdkBranch; - name: Checkout agoric-sdk - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Agoric/agoric-sdk path: agoric-sdk ref: ${{steps.get-branch.outputs.result}} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} diff --git a/.node-version b/.node-version new file mode 100644 index 000000000..407928e7e --- /dev/null +++ b/.node-version @@ -0,0 +1,2 @@ +v16.19.1 + diff --git a/.nvmrc b/.nvmrc new file mode 120000 index 000000000..070266a26 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +.node-version \ No newline at end of file diff --git a/package.json b/package.json index 5da66f5c1..1ad355efd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Documentation of Agoric products", "type": "module", "engines": { - "node": ">=11.0" + "node": "^16" }, "scripts": { "docs:dev": "vuepress dev main",