Fix dependency sync check in javascript.yml
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 6 May 2022 07:17:19 +0000 (09:17 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 6 May 2022 07:17:19 +0000 (09:17 +0200)
.github/workflows/javascript.yml

index 82aab754947e0afeb68de89afa0ead65d6b9d0fd..8db898d30b6f541115759f8e8a6f410236e20adf 100644 (file)
@@ -36,11 +36,12 @@ jobs:
     strategy:
       fail-fast: false
     steps:
+    - uses: actions/checkout@v3
     - name: Set up node.js
       uses: actions/setup-node@v2
       with:
         node-version: "16"
-    - uses: actions/checkout@v3
+    - run: npm install
     - name: "Check 'focus-trap'"
       run: |
         diff -wu wcfsetup/install/files/js/3rdParty/focus-trap/focus-trap.umd.min.js node_modules/focus-trap/dist/focus-trap.umd.min.js