Skip to content

Version 0.12.1

Version 0.12.1 #777

Workflow file for this run

name: Continuous Integration (JS)
on:
push:
paths:
- .github/workflows/ci_js.yml
- owmods_gui/frontend/**
branches:
- main
- renovate/js
pull_request:
paths:
- .github/workflows/ci_js.yml
- owmods_gui/frontend/**
branches:
- main
- dev
jobs:
js:
name: Check Frontend
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./owmods_gui/frontend
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Dependencies
run: pnpm install
- name: Lint
run: pnpm lint-dry
- name: Check Formatting
run: pnpm prettier-check