From cc53f626b600a5590c7a1a8e6c4c5acba9bc20df Mon Sep 17 00:00:00 2001 From: Jon McClure Date: Thu, 4 Jan 2024 18:17:54 +0000 Subject: [PATCH] commit build in canary --- .github/workflows/canary.yaml | 8 ++++++++ lefthook.yml | 2 -- package.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/canary.yaml b/.github/workflows/canary.yaml index 7bf7a3d9..5c32ebaa 100644 --- a/.github/workflows/canary.yaml +++ b/.github/workflows/canary.yaml @@ -52,6 +52,14 @@ jobs: name: Build package run: npm run build:package + - id: commit + name: Commit + run: | + git config --global user.name github-actions + git config --global user.email github-actions@github.com + git add . + git commit -m "built package" + - id: canary-release name: Create Canary Release env: diff --git a/lefthook.yml b/lefthook.yml index 85d83b17..325b89b4 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -6,5 +6,3 @@ pre-commit: prettier: glob: 'src/**/*.{js,scss,md,svelte}' run: npx prettier --write {staged_files} && git add . - build: - run: npm run build:package diff --git a/package.json b/package.json index 5991485a..af78695e 100644 --- a/package.json +++ b/package.json @@ -362,4 +362,4 @@ "url": "https://github.com/reuters-graphics/graphics-components/issues" }, "readme": "ERROR: No README data found!" -} +} \ No newline at end of file