Skip to content

Commit

Permalink
Testing build artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoji committed Feb 7, 2024
1 parent 8436989 commit f4004ca
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Artifact
on:
pull_request:
types:
- opened
- synchronize
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Set Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x

- name: Install and Build 🔧
run: |
corepack enable
yarn install
yarn build
- name: Upload artifacts 📦
uses: actions/upload-artifact@v4
with:
name: gh-pages
path: dist
retention-days: 5

0 comments on commit f4004ca

Please sign in to comment.