-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 946 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: test
on:
workflow_call:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Print Event
run: |
echo "Event Name: ${{ github.event_name }}"
echo "Repository: ${{ github.repository }}"
echo "SHA: ${{ github.sha }}"
echo "Ref: ${{ github.ref }}"
echo "Action: ${{ github.action }}"
echo "Actor: ${{ github.actor }}"
echo "Workflow Run ID: ${{ github.run_id }}"
echo "Head Repository: ${{ github.head_repository }}"
echo "Base Repository: ${{ github.base_repository }}"
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9
- name: Install dependencies
run: pnpm install
- name: Build project
run: pnpm run build