Skip to content

Commit

Permalink
chore: add basicmerge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-roseberry committed Nov 8, 2024
1 parent 06f7d49 commit 838aa5e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: After merge
on:
push:
branches:
- master

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: yarn install --immutable

- name: Lint, test and build client
run: yarn lint && yarn test && yarn build

- name: Run end-to-end tests
run: yarn e2e
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint:js": "jshint --verbose Gruntfile.js src/**/*.js test/**/*.js",
"lint:css": "csslint src/**/*.css",
"lint": "yarn lint:js && yarn lint:css",
"build": "yarn lint && ./build.sh",
"build": "./build.sh",
"test": "mocha -r module-alias/register -r jsdom-global/register -r ./mocha_inject test/**/*.test.js"
},
"devDependencies": {
Expand Down

0 comments on commit 838aa5e

Please sign in to comment.