chore(dependency): next, framer-motion 의존성 업데이트 #199
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: [develop] | |
push: | |
branches: [develop] | |
env: | |
CACHED_DEPENDENCY_PATHS: | | |
${{ github.workspace }}/.yarn/cache | |
${{ github.workspace }}/.yarn/unplugged | |
CACHED_BUILD_PATHS: ${{ github.workspace }}/.next | |
BUILD_CACHE_KEY: ${{ github.sha }} | |
DEFAULT_NODE_VERSION: "v20.11.1" | |
jobs: | |
continuous-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 20.11.1 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.DEFAULT_NODE_VERSION }} | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Check Lint | |
if: ${{ github.event_name == 'pull_request' }} | |
run: yarn lint && yarn stylelint | |
- name: Check Unit Test | |
run: yarn test:coverage | |
job_publish_storybook_chromatic: | |
name: Chromatic Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out current commit (${{ github.sha }}) | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.DEFAULT_NODE_VERSION }} | |
- name: Set node linker to nodeModules | |
run: yarn config set nodeLinker "node-modules" | |
- name: Install dependencies | |
run: yarn install --immutable | |
- uses: chromaui/action@v1 | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
skip: "dependabot/**" | |
exitOnceUploaded: true | |
onlyChanged: true |