-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: taskylizard <[email protected]>
- Loading branch information
1 parent
61f3d39
commit 3950844
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
name: Lunaria | ||
|
||
on: | ||
# Trigger the workflow every time a pull request is opened or synchronized at the target `main` branch | ||
# Using a different branch name? Replace `main` with your branch’s name | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
branches: [master] | ||
|
@@ -16,6 +14,9 @@ jobs: | |
lunaria-overview: | ||
name: Generate Lunaria Overview | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [20] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -24,20 +25,19 @@ jobs: | |
# Makes the action clone the entire git history | ||
fetch-depth: 0 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9.1.0 | ||
version: 9 | ||
|
||
- name: Setup Node | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: pnpm | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v3 | ||
|
||
- run: pnpm install | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Generate Lunaria Overview | ||
uses: yanthomasdev/[email protected] |