mirror of
https://github.com/unraid/api.git
synced 2026-01-08 17:49:59 -06:00
ci: enable tests and linting
This commit is contained in:
15
.github/workflows/production.yml
vendored
15
.github/workflows/production.yml
vendored
@@ -26,11 +26,8 @@ jobs:
|
||||
- name: Installing node deps
|
||||
run: npm ci
|
||||
|
||||
# - name: Test
|
||||
# run: npm test
|
||||
# # uses: omgimalexis/ava-action@master
|
||||
# # env:
|
||||
# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Test
|
||||
run: npm test
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -53,15 +50,13 @@ jobs:
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
# - name: Lint
|
||||
# uses: omgimalexis/xo-action@master
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# needs: [lint, test]
|
||||
needs: [lint, test]
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user