Skip to content

Commit

Permalink
temp: remove path filter to run ci
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeDTomita committed Jun 17, 2024
1 parent 109dc9a commit 5987d20
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/react-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: trivy dependency check for package.json
# TODO: aquaを使ってインストールして使う形にしたほうがわかりやすいかも
on:
push:
paths:
- "package.json"
# paths:
# - "package.json"
schedule:
# 日曜日の午前0時に実行
- cron: '0 0 * * 0'
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/react-jest.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: run-jest
on:
push:
paths:
- "src/**.tsx"
- "src/**.ts"
- "public/**.html"
# paths:
# - "src/**.tsx"
# - "src/**.ts"
# - "public/**.html"

defaults:
run:
shell: bash

jobs:
frontend-jest: # job id(Typed by user)
frontend-jest: # job id(typed by user)
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -21,10 +21,10 @@ jobs:
working-directory: /home/runner/work/devsecops-demo-aws-ecs/devsecops-demo-aws-ecs

steps:
# Checkout repository to runner
# checkout repository to runner
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: Set up node20
- name: set up node20
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: '20'
Expand All @@ -36,8 +36,8 @@ jobs:
with:
aqua_version: v2.29.0

- name: Install Dependencies
run: github-comment exec --token ${{ secrets.TOKEN }} -- npm install
- name: install dependencies
run: github-comment exec --token ${{ secrets.token }} -- npm install

- name: Run npm test
run: github-comment exec --token ${{ secrets.TOKEN }} -- npm test -- --watchAll=false
- name: run npm test
run: github-comment exec --token ${{ secrets.token }} -- npm test -- --watchall=false
8 changes: 4 additions & 4 deletions .github/workflows/react-semgrep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Semgrep Full Scan
#リポジトリの設定から --> Code and automation --> Actions --> GeneralのWorkflow permissionsをRead and write permissionsに[参考画像](../../doc/fig/semgrep_upgrade_grant.png)
on:
push:
paths:
- "src/**.tsx"
- "src/**.ts"
- "public/**.html"
# paths:
# - "src/**.tsx"
# - "src/**.ts"
# - "public/**.html"
schedule:
# 日曜日の午前0時に実行
- cron: '0 0 * * 0'
Expand Down

0 comments on commit 5987d20

Please sign in to comment.