Write docs using vitepress #137
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: "tests" | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
name: "Node v${{ matrix.node_js }}" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: true | |
matrix: | |
node_js: | |
- 10 | |
- 11 | |
- 12 | |
- 13 | |
- 14 | |
- 15 | |
- 16 | |
- 17 | |
- 18 | |
steps: | |
- name: "Checkout code" | |
uses: "actions/checkout@v3" | |
- name: "Setup Node and npm" | |
uses: "actions/setup-node@v3" | |
with: | |
cache: "npm" | |
node-version: "${{ matrix.node_js }}" | |
- name: "Install Node dependencies" | |
run: "npm ci" | |
- name: "Run tests" | |
run: "npm run test" |