Skip to content

Commit

Permalink
chore: workflow μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
Todari committed Aug 4, 2024
1 parent c16864c commit 48d1355
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/frontend-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,26 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-latest

defaults:
run:
shell: bash
working-directory: ./client

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v2
with:
node-version: '20.15.1'

- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
npm install
working-directory: ./client
run: npm install

- name: Run lint
run: npm run lint
working-directory: ./client
run: npm run lint

0 comments on commit 48d1355

Please sign in to comment.