File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ run-name: studio nuxt build
55on :
66 # Runs on pushes targeting the default branch
77 push :
8- branches : ["main"]
8+ branches :
9+ - ' main'
910
1011 # Allows you to run this workflow manually from the Actions tab
1112 workflow_dispatch :
3435
3536 steps :
3637 - name : Checkout
37- uses : actions/checkout@v3
38+ uses : actions/checkout@v4
3839
3940 - name : Identify package manager
4041 id : pkgman
@@ -44,12 +45,12 @@ jobs:
4445 echo "cache=$cache" >> $GITHUB_OUTPUT
4546 echo "package_manager=$package_manager" >> $GITHUB_OUTPUT
4647
47- - uses : pnpm/action-setup@v2.2.4
48+ - uses : pnpm/action-setup@v2.4.0
4849 if : ${{ steps.pkgman.outputs.package_manager == 'pnpm' }}
4950 name : Install pnpm
5051 id : pnpm-install
5152 with :
52- version : 7
53+ version : 8
5354
5455 - uses : actions/setup-node@v3
5556 with :
@@ -63,12 +64,13 @@ jobs:
6364 run : ${{ steps.pkgman.outputs.package_manager }} add -D @nuxthq/studio
6465
6566 - name : Create .nuxtrc
66- run : echo 'modules []=@nuxthq/studio' > .nuxtrc
67+ run : echo '\nautoImport=true\nmodules []=@nuxthq/studio' > > .nuxtrc
6768
6869 - name : Generate
69- run : ${{ steps.pkgman.outputs.package_manager }} nuxi generate
70+ run : npx nuxi generate
7071 env :
7172 NUXT_PUBLIC_STUDIO_API_URL : https://api.nuxt.studio
73+ NUXT_PUBLIC_STUDIO_TOKENS : 2d973abe61202e5f9d9b2869d4a19f024f3c0472162adce3935b762e39fe82f4
7274
7375 - name : Add .nojekyll file
7476 run : touch .output/public/.nojekyll
You can’t perform that action at this time.
0 commit comments