Update useful.md #42
Workflow file for this run
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
name: Lunaria | |
on: | |
pull_request_target: | |
types: [ opened, synchronize ] | |
branches: [ master ] | |
# Allow this job to clone the repository and comment on the pull request | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
lunaria-overview: | |
name: Generate Lunaria Overview | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# Necessary for Lunaria to work properly | |
# Makes the action clone the entire git history | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Generate Lunaria Overview | |
uses: yanthomasdev/[email protected] |