aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ferdi-builds.yml
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-06-13 22:02:57 +0530
committerLibravatar GitHub <noreply@github.com>2021-06-13 22:02:57 +0530
commit135e0e50e01ab91be74572016b3f74add688e34e (patch)
tree661a11aea663b29eecb165b75decab4c379d903e /.github/workflows/ferdi-builds.yml
parentdocs: add markandan as a contributor for code (#1524) [skip ci] (diff)
downloadferdi-135e0e50e01ab91be74572016b3f74add688e34e.tar.gz
ferdi-135e0e50e01ab91be74572016b3f74add688e34e.tar.zst
ferdi-135e0e50e01ab91be74572016b3f74add688e34e.zip
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.
Diffstat (limited to '.github/workflows/ferdi-builds.yml')
-rw-r--r--.github/workflows/ferdi-builds.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml
index 703929c2..fc87275c 100644
--- a/.github/workflows/ferdi-builds.yml
+++ b/.github/workflows/ferdi-builds.yml
@@ -59,15 +59,15 @@ jobs:
59 run: | 59 run: |
60 echo "Updating submodules" 60 echo "Updating submodules"
61 git submodule update --remote -f 61 git submodule update --remote -f
62
63 echo "Committing submodules"
64 git commit -am "Update submodules" --no-verify || true 62 git commit -am "Update submodules" --no-verify || true
65 63
66 echo "Running linter and tests" 64 echo "Running linter and tests"
67 npm run lint && npm run test 65 npm run lint && npm run test
68
69 echo "Committing linter fixes"
70 git commit -am "Apply linter fixes" --no-verify || true 66 git commit -am "Apply linter fixes" --no-verify || true
67
68 echo "Updating browserslist db"
69 npx browserslist@latest --update-db
70 git commit -am "Apply browserslist data updates" --no-verify || true
71 - name: Capture if this is a manually triggered forced rebuild 71 - name: Capture if this is a manually triggered forced rebuild
72 run: echo "FORCE_REBUILD=${{ contains(github.event.inputs.message, 'force build') }}" >> $GITHUB_ENV 72 run: echo "FORCE_REBUILD=${{ contains(github.event.inputs.message, 'force build') }}" >> $GITHUB_ENV
73 - id: should_run 73 - id: should_run