Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiOnishi1129 committed Jul 12, 2024
1 parent 9139dba commit 12967c8
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/mobile_rn_client_pr_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: mobile_rn_client_pr_check

on:
push:
branches:
- "main"
- "develop"
- "feature/*"
- "feat/*"
- "YL-*"
paths:
- "mobile/rn-client/**"
- ".github/workflows/mobile_rn_client_pr_check.yml"
#
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

defaults:
run:
working-directory: ./mobile/rn-client

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: ./web/client/package-lock.json

- name: Install dependencies
run: npm install --frozen-lockfile

- name: Lint
run: npm run lint

- name: Test
run: npm run test

# - name: Build
# run: npm run build

0 comments on commit 12967c8

Please sign in to comment.