Skip to content

Commit

Permalink
update example page workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
couetilc committed Apr 7, 2021
1 parent 52ba3eb commit 6f80738
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/example_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f80738

Please sign in to comment.