Skip to content

Commit

Permalink
fix: ci code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-hak committed May 9, 2024
1 parent 6133a6a commit e37bd78
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
steps:
- name: Create .env file
run: |
touch .env.local
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env.local
touch .env
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: yarn install
- run: yarn lint
node-version: '20'
- run: npm run install
- run: npm run lint

build:
name: Build
Expand All @@ -30,14 +30,14 @@ jobs:
steps:
- name: Create .env file
run: |
touch .env.local
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env.local
touch .env
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: yarn install
- run: CI='false' yarn build
node-version: '20'
- run: npm run install
- run: CI='false' npm run build

test:
name: Test
Expand All @@ -46,11 +46,11 @@ jobs:
steps:
- name: Create .env file
run: |
touch .env.local
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env.local
touch .env
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: yarn install
- run: yarn test
node-version: '20'
- run: npm run install
- run: npm run test

0 comments on commit e37bd78

Please sign in to comment.