diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..69e36df --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,27 @@ +name: Check +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Use Python 3.8 + uses: actions/setup-python@v4 + with: + python-version: '3.8' + + - name: Use Node.js 8.x + uses: actions/setup-node@v4 + with: + node-version: 8.x + + - run: npm ci + - run: npm run grunt -- test:node + - run: npm run grunt -- test:browser:local diff --git a/Gruntfile.js b/Gruntfile.js index d1cd938..59d88f1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -124,7 +124,7 @@ module.exports = function (grunt) { }, local: { reporters: ['progress', 'mocha'], - browsers: ['Firefox'], + browsers: ['FirefoxHeadless'], }, remote: { browserStack: {