Compare commits
No commits in common. "v1.40.0" and "v1.39.3" have entirely different histories.
2 changed files with 2 additions and 32 deletions
|
@ -103,35 +103,6 @@ jobs:
|
||||||
cd frontend
|
cd frontend
|
||||||
bun run lint
|
bun run lint
|
||||||
|
|
||||||
oxlint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: oxlint
|
|
||||||
needs: changed_files
|
|
||||||
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
|
||||||
container:
|
|
||||||
image: catthehacker/ubuntu:act-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Install bun
|
|
||||||
uses: oven-sh/setup-bun@v2
|
|
||||||
- uses: actions/cache@v4
|
|
||||||
working-directory: ./frontend
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
frontend/node_modules/
|
|
||||||
key: ${{ runner.os }}-bun-
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-bun-
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
cd frontend
|
|
||||||
bun install
|
|
||||||
- name: Run oxlint
|
|
||||||
run: |
|
|
||||||
cd frontend
|
|
||||||
bun run oxlint
|
|
||||||
|
|
||||||
prettier:
|
prettier:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: prettier
|
name: prettier
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "trustworthy-casino",
|
"name": "lf10-starter2024",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "bunx @angular/cli",
|
"ng": "bunx @angular/cli",
|
||||||
|
@ -9,8 +9,7 @@
|
||||||
"test": "bunx @angular/cli test",
|
"test": "bunx @angular/cli test",
|
||||||
"format": "prettier --write \"src/**/*.{ts,html,css,scss}\"",
|
"format": "prettier --write \"src/**/*.{ts,html,css,scss}\"",
|
||||||
"format:check": "prettier --check \"src/**/*.{ts,html,css,scss}\"",
|
"format:check": "prettier --check \"src/**/*.{ts,html,css,scss}\"",
|
||||||
"lint": "bunx @angular/cli lint",
|
"lint": "bunx @angular/cli lint"
|
||||||
"oxlint": "bunx oxlint --deny-warnings"
|
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Reference in a new issue