Skip to content

공통 컴포넌트: ScrollToTop #112

공통 컴포넌트: ScrollToTop

공통 컴포넌트: ScrollToTop #112

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- develop
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: |
jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' <<< "$SECRETS_CONTEXT" > .env.local
env:
SECRETS_CONTEXT: ${{ toJson(secrets) }}
- run: yarn install
- run: yarn lint
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: |
jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' <<< "$SECRETS_CONTEXT" > .env.local
env:
SECRETS_CONTEXT: ${{ toJson(secrets) }}
- run: yarn install
- run: CI='false' yarn build
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: |
jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' <<< "$SECRETS_CONTEXT" > .env.local
env:
SECRETS_CONTEXT: ${{ toJson(secrets) }}
- run: yarn install
- run: yarn test