mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
33 lines
649 B
YAML
33 lines
649 B
YAML
name: CI Version
|
|
|
|
on: push
|
|
|
|
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
|