Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Apr 18, 2023
1 parent 997bbec commit 030eb5e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Deploy

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

jobs:
build:
Expand All @@ -12,6 +10,11 @@ jobs:
with:
fetch-depth: 0

- name: Install & Tests
run: |
yarn
npm run test:ci
- name: Login to registry
uses: docker/login-action@v1
with:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"lint": "next lint",
"test": "npm run test:unit && npm run test:e2e",
"test:e2e": "cypress run",
"test:unit": "jest --forceExit -i __tests__/unit/*.spec.js"
"test:unit": "jest --forceExit -i __tests__/unit/*.spec.js",
"test:ci": "concurrently -s last \"npm run dev\" \"npm run test\""
},
"dependencies": {
"@babel/core": "^7.21.4",
Expand Down Expand Up @@ -64,6 +65,7 @@
"@tailwindcss/forms": "^0.5.3",
"autoprefixer": "^10.4.14",
"babel-jest": "^29.5.0",
"concurrently": "^8.0.1",
"cypress": "^12.9.0",
"eslint": "^8.37.0",
"eslint-config-airbnb": "^19.0.4",
Expand Down

0 comments on commit 030eb5e

Please sign in to comment.