You've already forked AstralRinth
forked from didirus/AstralRinth
Switch to pnpm (#1168)
This commit is contained in:
28
.github/workflows/nuxt.yml
vendored
28
.github/workflows/nuxt.yml
vendored
@@ -16,18 +16,26 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
- name: Get yarn cache
|
- name: Install pnpm via corepack
|
||||||
id: yarn-cache
|
shell: bash
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
run: |
|
||||||
- uses: actions/cache@v3
|
corepack enable
|
||||||
|
corepack prepare --activate
|
||||||
|
- name: Get pnpm store directory
|
||||||
|
id: pnpm-cache
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
|
||||||
|
- name: Setup pnpm cache
|
||||||
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.yarn-cache.outputs.dir }}
|
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-pnpm-store-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --immutable --immutable-cache --check-cache
|
run: pnpm install
|
||||||
- name: Run Lint
|
- name: Run Lint
|
||||||
run: npm run lint
|
run: pnpm lint
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: pnpm build
|
||||||
|
|||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -81,7 +81,3 @@ sw.*
|
|||||||
|
|
||||||
# Vim swap files
|
# Vim swap files
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
# pnpm files
|
|
||||||
pnpm-lock.yaml
|
|
||||||
/.npmrc
|
|
||||||
|
|||||||
@@ -37,5 +37,6 @@
|
|||||||
"markdown-it": "^13.0.1",
|
"markdown-it": "^13.0.1",
|
||||||
"vue-multiselect": "^3.0.0-alpha.2",
|
"vue-multiselect": "^3.0.0-alpha.2",
|
||||||
"xss": "^1.0.14"
|
"xss": "^1.0.14"
|
||||||
}
|
},
|
||||||
|
"packageManager": "pnpm@8.5.1"
|
||||||
}
|
}
|
||||||
|
|||||||
6595
pnpm-lock.yaml
generated
Normal file
6595
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user