Release v0.52.1 #1222
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: Build and Run Tests | |
on: [ pull_request ] | |
jobs: | |
build_and_test: | |
name: Build and test | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
# TODO: Add v18 back (#374) once the docs platform is migrated to a non-Gatsby solution (#373). | |
# node: [ 16, 18 ] | |
node: [ 16 ] | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- name: Print Node.js and npm version | |
run: node --version && npm --version | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm test |