fix(build): 🐛 Give proper permissions to GitHub Actions build

Prevents the build from failing to push to package registry
This commit is contained in:
Jesse Wierzbinski 2024-04-14 15:29:49 -10:00
parent f6989707f4
commit 51a74331c7
No known key found for this signature in database
3 changed files with 9 additions and 10 deletions

View file

@ -32,8 +32,6 @@ jobs:
platform: linux/amd64
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Prepare
@ -97,6 +95,12 @@ jobs:
name: Production
needs:
- build
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Prepare
run: |

3
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"conventionalCommits.scopes": ["build"]
}

View file

@ -25,9 +25,6 @@ export default defineNuxtConfig({
failOnError: true,
},
},
devServer: {
port: 5173,
},
schemaOrg: {
enabled: false,
},
@ -38,11 +35,6 @@ export default defineNuxtConfig({
define: {
__VERSION__: JSON.stringify("0.4"),
},
server: {
hmr: {
clientPort: 5173,
},
},
},
runtimeConfig: {
public: {