Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Identify package manager
id: pkgman
Expand All @@ -45,12 +45,12 @@ jobs:
echo "cache=$cache" >> $GITHUB_OUTPUT
echo "package_manager=$package_manager" >> $GITHUB_OUTPUT

- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v2.4.0
if: ${{ steps.pkgman.outputs.package_manager == 'pnpm' }}
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8

- uses: actions/setup-node@v3
with:
Expand All @@ -64,14 +64,15 @@ jobs:
run: ${{ steps.pkgman.outputs.package_manager }} add -D @nuxthq/studio

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

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


- name: Add .nojekyll file
run: touch .output/public/.nojekyll

Expand Down