Skip to content

[RN-95] Android에서 Carousel 모서리를 둥글게 변경 #90

[RN-95] Android에서 Carousel 모서리를 둥글게 변경

[RN-95] Android에서 Carousel 모서리를 둥글게 변경 #90

name: 'Check ESLint on Pull Request'
on:
pull_request:
branches: ['develop']
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node 18.16.x
uses: actions/setup-node@v2
with:
node-version: '18.16.x'
cache: 'yarn'
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
- name: Set Yarn Version
id: set-version
run: |
yarn set version 3.6.4
echo "YARN_VERSION=$(yarn -v)" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
- name: Get cache dir path
id: yarn-cache-dir-path
run: echo "CACHE_DIR=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Yarn cache
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.CACHE_DIR }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ steps.set-version.outputs.YARN_VERSION }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-
- name: Install dependencies
run: |
CACHE_HIT="${{ steps.yarn-cache.outputs.cache-hit }}"
NODE_MODULES_EXISTS=$(test -d "node_modules" && echo "true" || echo "false")
if [[ "$CACHE_HIT" != 'true' || "$NODE_MODULES_EXISTS" == 'false' ]]; then
yarn install
fi
- name: Check Lint
run: yarn lint