Skip to content

Specify node version #35

Specify node version

Specify node version #35

Workflow file for this run

# Submit a PR to FemiwikiSkin repository
# See https://www.mediawiki.org/wiki/OOUI/Themes#Custom_themes
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
- name: Lint
run: yarn run lint