From fefe9f6d2bb4d739a628894b9daa7e48d33d4b37 Mon Sep 17 00:00:00 2001 From: Jonas Jensen Date: Mon, 23 Aug 2021 17:09:11 +0200 Subject: [PATCH] Specify node.js version in Github Actions example Specify node.js version for `actions/setup-node@v1` step in example Github Actions code. Without this, the snippet currently fails as it defaults to an earlier version of node.js which raises a SyntaxError for the current version of the module. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c0518edb5..786435cb9 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 + with: + node-version: 14 - run: npm install && npm install -g @lhci/cli@0.8.x - run: npm run build - run: lhci autorun