Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tensojka committed Aug 26, 2024
1 parent 9dc810b commit 1e9febf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: ESLint

on:
push:
paths:
- 'frontend/**'
pull_request:
paths:
- 'frontend/**'
Expand All @@ -19,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'npm'
cache-dependency-path: frontend/package-lock.json

Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/tsc.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
name: Typescript
name: Notification bot – Typescript compile

on:
push:
paths:
- '**.ts'
- '.github/'
- 'tsconfig.json'
- 'package.json'
pull_request:
paths:
- '**.ts'
- '.github/'
- 'tsconfig.json'
- 'package.json'
- 'notification-bot/**'

jobs:
compile:
runs-on: ubuntu-latest
defaults:
run:
working-directory: notification-bot
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
Expand All @@ -25,4 +21,4 @@ jobs:
with:
node-version: '22'
- name: Run tsc
run: cd notification-bot; npm install --save-dev; tsc --project .
run: npm install --save-dev; tsc --project .

0 comments on commit 1e9febf

Please sign in to comment.