Update dependency vfile to v6 #1023
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: "CI" | |
on: ["push", "pull_request"] | |
jobs: | |
main: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- "ubuntu-latest" | |
- "macos-latest" | |
- "windows-latest" | |
node_version: | |
- 16 | |
- 18 | |
name: "Node ${{ matrix.node_version }} on ${{ matrix.os }}" | |
runs-on: "${{ matrix.os }}" | |
steps: | |
- name: "Checkout repository" | |
uses: "actions/checkout@v3" | |
- name: "Set up Node ${{ matrix.node_version }}" | |
uses: "actions/setup-node@v3" | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: "yarn" | |
- name: "Install dependencies" | |
run: "yarn install --immutable" | |
- name: "Test building package" | |
run: "yarn run build" | |
- name: "Run linting" | |
run: "yarn run lint" | |
- name: "Run tests" | |
run: "yarn run test --full-trace" | |
docs: | |
strategy: | |
fail-fast: false | |
name: "Doc Link Checker" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout repository" | |
uses: "actions/checkout@v3" | |
- name: "Run Doc Link Checker" | |
uses: "docker://ghcr.io/djmattyg007/doc-link-checker:1.0.4@sha256:6dc6f7f15210b2b5e90e7e4a58df7ee4e64da52367d3299f0cdd65ccc4753451" | |
with: | |
args: "lint --exclude-extend tests/fixtures/**" | |
env: | |
DOC_LINK_CHECKER_MDTYPE: "gfm" |