-
-
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.
* change pnpm * add pnpm * pnpm install * Update ci.yml * Update ci.yml * Update ci.yml * Update pnpm-lock.yaml * upgrade nuxt 14 * Update pnpm-lock.yaml * Update ci.yml * Update ci.yml
- Loading branch information
1 parent
f199ca5
commit eb5aa8c
Showing
7 changed files
with
7,947 additions
and
12,646 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 |
---|---|---|
|
@@ -16,23 +16,34 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [16] | ||
node-version: [18] | ||
pnpm-version: [7] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
version: ${{ matrix.pnpm-version }} | ||
|
||
- name: 📦 Install dependencies | ||
run: yarn install | ||
- name: Set up Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v3 | ||
id: cache-node-modules | ||
with: | ||
path: node_modules | ||
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }} | ||
path: | | ||
node_modules | ||
key: modules-${{ hashFiles('pnpm-lock.yaml') }} | ||
|
||
- name: Install Dependencies | ||
if: steps.cache-node-modules.outputs.cache-hit != 'true' | ||
run: pnpm i | ||
|
||
|
||
build: | ||
|
@@ -43,29 +54,32 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [16] | ||
node-version: [18] | ||
pnpm-version: [7] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
version: ${{ matrix.pnpm-version }} | ||
|
||
- name: Set up Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: node_modules | ||
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }} | ||
path: | | ||
node_modules | ||
key: modules-${{ hashFiles('pnpm-lock.yaml') }} | ||
|
||
- name: 🛠 Nuxt Build | ||
run: yarn build | ||
|
||
- name: Cache dist | ||
uses: actions/cache@v3 | ||
with: | ||
path: dist | ||
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }} | ||
run: pnpm build | ||
|
||
generate: | ||
name: 🚧 Nuxt generate | ||
|
@@ -75,29 +89,32 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [16] | ||
node-version: [18] | ||
pnpm-version: [7] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v3 | ||
- uses: pnpm/[email protected] | ||
with: | ||
path: node_modules | ||
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }} | ||
version: ${{ matrix.pnpm-version }} | ||
|
||
- name: 🛠 Nuxt Generate | ||
run: yarn generate | ||
- name: Set up Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache dist | ||
- name: Cache node_modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: dist | ||
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }} | ||
path: | | ||
node_modules | ||
key: modules-${{ hashFiles('pnpm-lock.yaml') }} | ||
|
||
- name: 🛠 Nuxt Generate | ||
run: pnpm generate | ||
|
||
|
||
lint: | ||
|
@@ -108,20 +125,29 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [16] | ||
node-version: [18] | ||
pnpm-version: [7] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
version: ${{ matrix.pnpm-version }} | ||
|
||
- name: Set up Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: node_modules | ||
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }} | ||
path: | | ||
node_modules | ||
key: modules-${{ hashFiles('pnpm-lock.yaml') }} | ||
|
||
- name: 💪 Lint | ||
run: yarn lint | ||
run: pnpm lint |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
shamefully-hoist=true | ||
strict-peer-dependencies=false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
eb5aa8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
oku-nuxt3-template – ./
oku-nuxt3-template-productdevbook.vercel.app
oku-nuxt3-template.vercel.app
oku-nuxt3-template-git-master-productdevbook.vercel.app