Skip to content

Commit

Permalink
Create npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lkd9125 authored Mar 14, 2024
1 parent 4c10ef2 commit 188b1ae
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Package

on:
push:
tags: [ "releases-**" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code.
uses: actions/checkout@master
with:
ref: master

- name: Install Dependencies
run: |
npm install
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: JejuFront
path: out

# deploy:
# needs: build # 배포를 위해 필요한 과정
# runs-on: ubuntu-latest # 배포시 사용 환경

# steps:
# - name: Download artifact
# uses: actions/download-artifact@v2
# with:
# name: JejuFront
# path: out # 배포에 활용할 경로

0 comments on commit 188b1ae

Please sign in to comment.