feat: version lint

This commit is contained in:
TrèsAbhi committed 2023-11-25 21:03:29 -06:00
1 parent 3bbbbfa402
commit 750e145f03
4 files changed
+49

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
name: CD Version
on: [push, pull_request]
jobs:
host:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install Yarn
run: npm install --location=global yarn
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Generate leaderboard
run: yarn lint:version