refactor(library): remove library component and related localization files #668
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: [develop] | |
push: | |
jobs: | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./rogue-thi-app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
cache-dependency-path: ./rogue-thi-app/package-lock.json | |
- name: Install modules | |
run: npm install | |
- name: Run Prettier | |
run: npm run prettier:check | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./rogue-thi-app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
cache-dependency-path: ./rogue-thi-app/package-lock.json | |
- name: Install modules | |
run: npm install | |
- name: Run ESLint | |
run: npx eslint . --ext .js,.jsx,.ts,.tsx | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./rogue-thi-app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
cache-dependency-path: ./rogue-thi-app/package-lock.json | |
- name: Install modules | |
run: npm install | |
- name: Build | |
run: npm run build |