Skip to content

Commit

Permalink
fix: Make build workflow works
Browse files Browse the repository at this point in the history
  • Loading branch information
bclswl0827 committed Sep 20, 2024
1 parent b1d1ce9 commit 344efcd
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
Expand All @@ -20,7 +19,7 @@ jobs:
- name: Installing Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: "18.14.0"

- name: Installing NPM packages
run: npm ci
Expand All @@ -29,19 +28,18 @@ jobs:
run: npm run build

- name: Uploading dist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: production-files
path: ./build

deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
needs: build

steps:
- name: Downloading artifact
uses: actions/download-artifact@v2
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: production-files
path: ./build
Expand Down

0 comments on commit 344efcd

Please sign in to comment.