From 17b50aa32c054c4eff79089b9ecefc0688f9f9c3 Mon Sep 17 00:00:00 2001 From: James Mead Date: Thu, 16 Jan 2025 16:46:17 +0000 Subject: [PATCH] Change CI to publish to GitHub package registry On pushes to the experience-cs branch. --- .github/workflows/ci-cd.yml | 15 ++++++++++----- package-lock.json | 4 ++-- package.json | 9 ++++++--- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 1fbc029dec7..1c8edf4839c 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -3,7 +3,7 @@ name: CI/CD on: pull_request: # Runs whenever a pull request is created or updated (including from another fork) push: # Runs whenever a commit is pushed to the repository... - branches: [master, develop, hotfix/*] # ...on any of these branches + branches: [experience-cs] # ...on any of these branches workflow_dispatch: # Allows you to run this workflow manually from the Actions tab concurrency: group: "${{ github.workflow }} @ ${{ github.head_ref || github.ref }}" @@ -14,6 +14,7 @@ permissions: pages: write # deploy to GitHub Pages issues: write # comment on released issues pull-requests: write # comment on released pull requests + packages: write # deploy to GitHub Packages jobs: ci-cd: @@ -28,6 +29,7 @@ jobs: with: cache: "npm" node-version-file: ".nvmrc" + registry-url: "https://npm.pkg.github.com" - name: Info run: | cat <