From 51a74331c71eb884594442e5294805c3e56ca142 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sun, 14 Apr 2024 15:29:49 -1000 Subject: [PATCH] fix(build): :bug: Give proper permissions to GitHub Actions build Prevents the build from failing to push to package registry --- .github/workflows/docker-publish.yml | 8 ++++++-- .vscode/settings.json | 3 +++ nuxt.config.ts | 8 -------- 3 files changed, 9 insertions(+), 10 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 4763492..a3053c7 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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: | diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..74fb340 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "conventionalCommits.scopes": ["build"] +} diff --git a/nuxt.config.ts b/nuxt.config.ts index a81e4ac..02edc6a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -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: {