Build should occur before the tests

This commit is contained in:
Kir_Antipov 2023-05-19 22:11:43 +03:00
parent 522691bdbe
commit a025f91151

View file

@ -15,10 +15,10 @@ jobs:
- name: Set up node modules - name: Set up node modules
run: npm ci run: npm ci
- name: Build artifacts
run: npm run build
- name: Execute tests - name: Execute tests
run: npm run test run: npm run test
env: env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
- name: Build artifacts
run: npm run build