From 853be8d712ea5c7fd4216e7c0cc5e394c030348d Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 3 Aug 2022 17:06:24 +0200 Subject: [PATCH] fix: create config before audit (#47142) --- .github/workflows/i18n-prs.yml | 6 ++---- package.json | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/i18n-prs.yml b/.github/workflows/i18n-prs.yml index abf9a6a367a..55a81620988 100644 --- a/.github/workflows/i18n-prs.yml +++ b/.github/workflows/i18n-prs.yml @@ -23,10 +23,8 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Install Dependencies and Build Config - run: | - npm ci - npm run create:config + - name: Install Dependencies + run: npm ci - name: Validate Challenge Files id: validate diff --git a/package.json b/package.json index 128a99fed21..166728b16dc 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "tools/ui-components" ], "scripts": { - "audit-challenges": "ts-node tools/challenge-auditor/index.ts", + "audit-challenges": "npm run create:config && ts-node tools/challenge-auditor/index.ts", "analyze-bundle": "webpack-bundle-analyzer", "prebuild": "npm-run-all create:*", "build": "npm-run-all -p build:*",