Tweak CI config (#13615)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-10-12 15:10:08 +08:00
1 parent 1cfccd3b82
commit dd006e4eed
13 files changed
+136 -67

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
name: Build
on:
workflow_call:
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
- name: Setup Node.js
uses: actions/setup-node@v3.5.0
with:
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
- name: Build Package
run: yarn build --clean
- name: Upload Artifact
uses: actions/upload-artifact@v3.1.0
with:
name: dist
path: dist
if-no-files-found: error