Skip to content

Update 20240618_0.md #908

Update 20240618_0.md

Update 20240618_0.md #908

Workflow file for this run

name: Node.js CI
on:
push:
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v18
uses: actions/setup-node@v3
with:
node-version: v18
- name: Setup pnpm ✊
uses: pnpm/[email protected]
with:
version: 8.5.0
- name: Cache node_modules
uses: actions/cache@v3
id: node_modules_cache_id
env:
cache-name: cache-node-modules
with:
path: '**/node_modules'
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install deps
if: ${{ steps.node_modules_cache_id.outputs.cache-hit != 'true' }}
run: pnpm i
- run: pnpm lint