From e0e5c420c0fdc064a713bc784b14e4d4f592922a Mon Sep 17 00:00:00 2001 From: ramchale Date: Fri, 10 Oct 2025 15:55:58 +0100 Subject: [PATCH] Add GitHub Action to check the build works --- .github/workflows/ci.yml | 19 +++++++++++++++++++ package.json | 2 +- yarn.lock | 18 +++++++++--------- 3 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..dba4c79 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: "Continuous Integration" + +on: + pull_request: + push: + branches: + tags: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - run: corepack enable + - name: Install packages + run: yarn install --immutable --check-cache + - name: Build + run: yarn build diff --git a/package.json b/package.json index e20e400..a271ed3 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "storybook": "^8.2.5", "to-string-loader": "^1.1.5", "tslib": "^2.8.1", - "typescript": "~5.8.2", + "typescript": "~5.5.0", "webpack": "^5.95.0", "zone.js": "~0.14.8" }, diff --git a/yarn.lock b/yarn.lock index 3144e44..f5dd702 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3413,7 +3413,7 @@ __metadata: storybook: "npm:^8.2.5" to-string-loader: "npm:^1.1.5" tslib: "npm:^2.8.1" - typescript: "npm:~5.8.2" + typescript: "npm:~5.5.0" webpack: "npm:^5.95.0" zone.js: "npm:~0.14.8" languageName: unknown @@ -18593,13 +18593,13 @@ __metadata: languageName: node linkType: hard -"typescript@npm:~5.8.2": - version: 5.8.2 - resolution: "typescript@npm:5.8.2" +"typescript@npm:~5.5.0": + version: 5.5.4 + resolution: "typescript@npm:5.5.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/5c4f6fbf1c6389b6928fe7b8fcd5dc73bb2d58cd4e3883f1d774ed5bd83b151cbac6b7ecf11723de56d4676daeba8713894b1e9af56174f2f9780ae7848ec3c6 + checksum: 10c0/422be60f89e661eab29ac488c974b6cc0a660fb2228003b297c3d10c32c90f3bcffc1009b43876a082515a3c376b1eefcce823d6e78982e6878408b9a923199c languageName: node linkType: hard @@ -18613,13 +18613,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A~5.8.2#optional!builtin": - version: 5.8.2 - resolution: "typescript@patch:typescript@npm%3A5.8.2#optional!builtin::version=5.8.2&hash=5786d5" +"typescript@patch:typescript@npm%3A~5.5.0#optional!builtin": + version: 5.5.4 + resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=379a07" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/5448a08e595cc558ab321e49d4cac64fb43d1fa106584f6ff9a8d8e592111b373a995a1d5c7f3046211c8a37201eb6d0f1566f15cdb7a62a5e3be01d087848e2 + checksum: 10c0/73409d7b9196a5a1217b3aaad929bf76294d3ce7d6e9766dd880ece296ee91cf7d7db6b16c6c6c630ee5096eccde726c0ef17c7dfa52b01a243e57ae1f09ef07 languageName: node linkType: hard