Feature-sliced configuration 및 CI setup #2
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- 'develop/**' | |
- 'weekly/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout source code | |
uses: 'actions/checkout@v4' | |
- name: init yarn | |
uses: 'actions/setup-node@v4' | |
with: | |
node-version: '20' | |
cache: yarn | |
- name: yarn berry setup | |
run: yarn set version berry | |
- name: install dependencies | |
run: yarn | |
- name: run test | |
run: yarn ci |