Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
In3luki committed Apr 26, 2024
1 parent ca591e8 commit e82f6f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Git
run: |
git remote add upstream https://github.com/foundryvtt/pf2e.git
git fetch upstream master
shell: bash

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand All @@ -36,10 +42,10 @@ jobs:
run: |
npm ci
- name: Build
run: |
npm run build
- name: Test
run: |
npm run test
- name: Build
run: |
npm run build
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
"hot": "vite serve",
"link": "tsx ./build/link-foundry.ts",
"extractPacks": "tsx ./build/extract-packs.ts",
"pretest": "npm run lint",
"pretest": "npm run lint:ci",
"test": "jest",
"migrate": "tsx ./build/run-migration.ts",
"lint": "npm run lint:ts && npm run lint:json && npm run prettier:scss",
"lint:ci": "eslint $(git diff --name-only --diff-filter=ACMRTUXB origin/master HEAD) --ext .ts && npm run prettier:scss",
"lint:ts": "eslint ./build ./src ./tests ./types --ext .ts",
"prettier:scss": "prettier --check src/styles",
"lint:json": "eslint ./static --ext .json --no-eslintrc --plugin json --rule \"json/*: error\" --rule \"linebreak-style: error\"",
Expand Down

0 comments on commit e82f6f7

Please sign in to comment.