From 135e0e50e01ab91be74572016b3f74add688e34e Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Sun, 13 Jun 2021 22:02:57 +0530 Subject: Upgraded some npm modules (#1525) * Update the browserslist data every night * Change the support browsers list to 'last 2 Chrome versions' - in a bid to keep transpiling output size and time to a smaller number. --- .github/workflows/ferdi-builds.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 703929c28..fc87275c4 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml @@ -59,15 +59,15 @@ jobs: run: | echo "Updating submodules" git submodule update --remote -f - - echo "Committing submodules" git commit -am "Update submodules" --no-verify || true echo "Running linter and tests" npm run lint && npm run test - - echo "Committing linter fixes" git commit -am "Apply linter fixes" --no-verify || true + + echo "Updating browserslist db" + npx browserslist@latest --update-db + git commit -am "Apply browserslist data updates" --no-verify || true - name: Capture if this is a manually triggered forced rebuild run: echo "FORCE_REBUILD=${{ contains(github.event.inputs.message, 'force build') }}" >> $GITHUB_ENV - id: should_run -- cgit v1.2.3-70-g09d2