Skip to content

Commit ec510db

Browse files
chore(deps): upgrade Nuxt Studio CI
1 parent e6a81f6 commit ec510db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/studio.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3939

4040
- name: Identify package manager
4141
id: pkgman
@@ -45,12 +45,12 @@ jobs:
4545
echo "cache=$cache" >> $GITHUB_OUTPUT
4646
echo "package_manager=$package_manager" >> $GITHUB_OUTPUT
4747
48-
- uses: pnpm/action-setup@v2.2.4
48+
- uses: pnpm/action-setup@v2.4.0
4949
if: ${{ steps.pkgman.outputs.package_manager == 'pnpm' }}
5050
name: Install pnpm
5151
id: pnpm-install
5252
with:
53-
version: 7
53+
version: 8
5454

5555
- uses: actions/setup-node@v3
5656
with:
@@ -64,10 +64,10 @@ jobs:
6464
run: ${{ steps.pkgman.outputs.package_manager }} add -D @nuxthq/studio
6565

6666
- name: Create .nuxtrc
67-
run: echo 'modules[]=@nuxthq/studio' > .nuxtrc
67+
run: echo '\nautoImport=true\nmodules[]=@nuxthq/studio' >> .nuxtrc
6868

6969
- name: Generate
70-
run: ${{ steps.pkgman.outputs.package_manager }} nuxi generate
70+
run: npx nuxi generate
7171
env:
7272
NUXT_PUBLIC_STUDIO_API_URL: https://api.nuxt.studio
7373
NUXT_PUBLIC_STUDIO_TOKENS: 5bebca9b7b2602caa06f6872c56ffdb71437f75925857e61e73458ef0f11dc78

0 commit comments

Comments
 (0)