Skip to content

Commit

Permalink
Add format test
Browse files Browse the repository at this point in the history
  • Loading branch information
perry-mitchell committed Dec 3, 2023
1 parent 9cffbbd commit 9c239bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Expand Up @@ -18,13 +18,13 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:integration
# formatting:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Formatting
# uses: actions/setup-node@v1
# with:
# node-version: 20.x
# - run: npm ci
# - run: npm run test:format
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Formatting
uses: actions/setup-node@v1
with:
node-version: 20.x
- run: npm ci
- run: npm run test:format
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -15,6 +15,7 @@
"prepare": "simple-git-hooks",
"prepublishOnly": "npm run build",
"test": "npm run clean && npm run test:integration",
"test:format": "prettier --check \"{{source,test}/**/*.{js,ts},rollup.config.js}\"",
"test:integration": "npm run build:test && mocha \"test/integration/**/*.spec.js\""
},
"repository": {
Expand Down

0 comments on commit 9c239bd

Please sign in to comment.