mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 19:34:04 +00:00
Try to fix "close-incorrect-issue.yml"
This commit is contained in:
parent
f044c2e328
commit
62e952f1e6
1 changed files with 22 additions and 5 deletions
27
.github/workflows/close-incorrect-issue.yml
vendored
27
.github/workflows/close-incorrect-issue.yml
vendored
|
@ -16,10 +16,27 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- uses: pnpm/action-setup@v2
|
||||||
uses: actions/setup-node@v3
|
name: Install pnpm
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
version: 8
|
||||||
cache: 'npm'
|
run_install: false
|
||||||
- run: npm ci
|
|
||||||
|
- name: Get pnpm store directory
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- uses: actions/cache@v3
|
||||||
|
name: Setup pnpm cache
|
||||||
|
with:
|
||||||
|
path: ${{ env.STORE_PATH }}
|
||||||
|
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-pnpm-store-
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Close Incorrect Issue
|
||||||
- run: node extra/close-incorrect-issue.js ${{ secrets.GITHUB_TOKEN }} ${{ github.event.issue.number }} ${{ github.event.issue.user.login }}
|
- run: node extra/close-incorrect-issue.js ${{ secrets.GITHUB_TOKEN }} ${{ github.event.issue.number }} ${{ github.event.issue.user.login }}
|
||||||
|
|
Loading…
Reference in a new issue