Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
moisout committed Jul 8, 2024
1 parent 096ba6d commit aa5c0da
Show file tree
Hide file tree
Showing 3 changed files with 1,934 additions and 2,963 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Identify package manager
id: pkgman
run: |
cache=`[ -f "./pnpm-lock.yaml" ] && echo "pnpm" || ([ -f "./package-lock.json" ] && echo "npm" || ([ -f "./yarn.lock" ] && echo "yarn" || echo ""))`
package_manager=`[ ! -z "$cache" ] && echo "$cache" || echo "pnpm"`
echo "cache=$cache" >> $GITHUB_OUTPUT
echo "package_manager=$package_manager" >> $GITHUB_OUTPUT
- uses: pnpm/[email protected]
if: ${{ steps.pkgman.outputs.package_manager == 'pnpm' }}
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 9

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
version: ${{ matrix.node }}
cache: ${{ steps.pkgman.outputs.cache }}
cache: pnpm

- name: Install dependencies
run: ${{ steps.pkgman.outputs.package_manager }} install

- name: Install @nuxthq/studio
run: ${{ steps.pkgman.outputs.package_manager }} add -D @nuxthq/studio
run: pnpm install

- name: Create .nuxtrc
run: echo $'\nautoImport=true\nmodules[]=@nuxthq/studio' >> .nuxtrc
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
},
"devDependencies": {
"@nuxt-themes/docus": "1.15.0",
"@nuxt/content": "2.10.0",
"@nuxt/devtools": "1.0.0",
"@nuxt/eslint-config": "0.2.0",
"@nuxt/content": "2.13.1",
"@nuxt/devtools": "1.3.9",
"@nuxt/eslint-config": "0.3.13",
"@nuxthq/studio": "1.0.6",
"@types/node": "20.8.9",
"eslint": "8.52.0",
"nuxt": "3.9.1",
"sass": "1.69.5"
"@types/node": "20.14.10",
"eslint": "9.6.0",
"nuxt": "3.12.3",
"sass": "1.77.6"
}
}
Loading

0 comments on commit aa5c0da

Please sign in to comment.