Skip to content

Commit

Permalink
Add CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
perry-mitchell committed Mar 21, 2024
1 parent 5cefb10 commit 44f5ff1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 168 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Tests

on: push

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Node.js specs ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:format
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

160 changes: 0 additions & 160 deletions __webpack.config.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"release:firefox:source": "zip -r release/firefox/source.zip . --exclude=/.git* --exclude=/node_modules* --exclude=/.history* --exclude=/dist* --exclude=/release* --exclude=*.DS_Store*",
"set-version": "node scripts/version.js",
"test": "run-s test:format",
"test:ci": "run-s test release",
"test:format": "prettier --check '{{source,test}/**/*.{ts,js},webpack.config.js}'"
},
"lint-staged": {
Expand Down

0 comments on commit 44f5ff1

Please sign in to comment.