Skip to content

Commit

Permalink
config is added
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksiiBlezniuk committed Feb 4, 2025
1 parent 218ae43 commit 849cb62
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"scripts": {
"prepare": "husky install",
"lint": "eslint ."
"lint": "eslint .",
"test": "cypress run --browser chrome"
},
"dependencies": {
"cypress-image-snapshot": "^4.0.1",
Expand Down

0 comments on commit 849cb62

Please sign in to comment.