From 6f80738dd8efc890bfc2fa145f34ef90614a0464 Mon Sep 17 00:00:00 2001 From: Connor Couetil Date: Tue, 6 Apr 2021 18:04:32 -0700 Subject: [PATCH] update example page workflow --- .github/workflows/example_page.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/example_page.yml b/.github/workflows/example_page.yml index f1520cab..77db1b9f 100644 --- a/.github/workflows/example_page.yml +++ b/.github/workflows/example_page.yml @@ -7,12 +7,22 @@ on: jobs: examplePage: - runs-on: ubuntu-latest + runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v2 + - name: Read .nvmrc + run: echo ::set-output name=NVMRC::$(cat .nvmrc) + id: nvm + + - name: Set Node.js Version + uses: actions/setup-node@v1 + with: + node-version: '${{ steps.nvm.outputs.NVMRC }}' + registry-url: 'https://registry.npmjs.org' + - name: Build Example Site run: | npm ci