Skip to content

Commit

Permalink
moved tests run to github
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Oct 20, 2023
1 parent 9b4b066 commit e15f22a
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CRM CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm ci
- run: npm run test:unit
1 change: 0 additions & 1 deletion .husky/pre-push

This file was deleted.

1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset',
'babel-preset-vite',
],
};
89 changes: 89 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@vue/test-utils": "^2.0.0-0",
"@vue/vue3-jest": "^27.0.0-alpha.1",
"babel-jest": "^27.0.6",
"babel-preset-vite": "^1.1.0",
"bamboo-jest-reporter": "^1.0.3",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.25.3",
Expand Down

0 comments on commit e15f22a

Please sign in to comment.