chore(deps): update dependency @types/node to v20.17.2 - autoclosed #1858
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: CI | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['18', '20', '22'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Get Npm cache directory path | |
id: npm-cache-dir-path | |
run: echo "::set-output name=dir::$(npm config get cache)" | |
- name: Npm cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.npm-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run build | |
- name: Test | |
env: | |
SITE: SHEPHERD_DOT_DIRECTORY="./fixtures/artifacts/.shepherd" | |
SHEPHERD_GITHUB_ENTERPRISE_URL: ${{ secrets.SHEPHERD_GITHUB_ENTERPRISE_URL }} | |
SHEPHERD_GITHUB_ENTERPRISE_BASE_URL: ${{ secrets.SHEPHERD_GITHUB_ENTERPRISE_BASE_URL }} | |
run: npm run test |