build(deps-dev): bump vitepress from 1.0.0-rc.10 to 1.0.0-rc.25 #40
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: Install dependencies and build the project | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
- "!dependabot/**" | |
pull_request: | |
branches: | |
- develop | |
- main | |
- "!dependabot/**" | |
jobs: | |
install: | |
name: Build and start Node.js project | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- "18" | |
steps: | |
- name: Checkout the current branch | |
uses: actions/checkout@main | |
- name: Set up Node.js | |
uses: actions/setup-node@main | |
with: | |
node-version: '${{ matrix.node-version }}' | |
- name: Cache dependencies installed with Node Package Manager | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: node_modules-${{hashFiles('package-lock.json')}} | |
restore-keys: node_modules- | |
- name: Install dependencies in the project | |
run: npm ci | |
- name: Build the project | |
run: npm run build |