Bump actions/setup-node from 3 to 4 #571
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs - Build and Deploy | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-test-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install NPM packages | |
run: npm ci | |
- name: Build style spec | |
run: | | |
npm run generate-style-spec | |
npm run generate-typings | |
- name: Build docs | |
run: | | |
cd ./docs | |
npm ci | |
npm run build |