Skip to content

Commit

Permalink
Merge pull request #36 from autentia/chore/fix-scripts
Browse files Browse the repository at this point in the history
chore: change npm script for get artifacts correctly
  • Loading branch information
Kemil Beltre authored Mar 4, 2022
2 parents c14115f + 7b09695 commit ddc6692
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
test:
release:
name: Release
runs-on: ubuntu-latest
env:
Expand All @@ -27,7 +27,7 @@ jobs:
env:
CI: true

- name: Run the tests
- name: Run Test
run: npm run test:unit:ci

- name: Configure Git User
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": {
"name": "Emanuel Suca"
},
"version": "4.0.4-SNAPSHOT.0",
"version": "4.0.2-SNAPSHOT.0",
"private": true,
"homepage": "/binnacle",
"scripts": {
Expand All @@ -13,8 +13,8 @@
"build:dev": "PUBLIC_URL=./ env-cmd -f .env.development npm run build",
"build:int": "env-cmd -f .env.integration npm run build && npm run zip-int",
"build:prod": "npm run build && npm run zip-prod",
"zip-int": "cd build; zip -r ../binnacle_front_$npm_package_version_int.zip * .htaccess",
"zip-prod": "cd build; zip -r ../binnacle_front_$npm_package_version_prod.zip * .htaccess",
"zip-int": "cd build; zip -r ../binnacle_front_${npm_package_version}_int.zip * .htaccess",
"zip-prod": "cd build; zip -r ../binnacle_front_$npm_package_version.zip * .htaccess",
"test:unit": "TZ=Europe/Madrid env-cmd -f .env.development jest --watchAll=true",
"test:unit:coverage": "npm run test:unit -- --watchAll=false --coverage",
"test:unit:ci": "npm run test:unit -- --runInBand --watchAll=false --coverage",
Expand All @@ -23,7 +23,8 @@
"lint": "eslint ./src --ext .jsx,.js,.ts,.tsx --fix",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"cypress": "cypress open",
"clean": "rm -Rf build/ coverage/ node_modules/ package-lock.json"
"clean": "rm -Rf build/ coverage/ node_modules/ package-lock.json",
"echo:version": "echo $npm_package_version"
},
"dependencies": {
"@chakra-ui/react": "1.7.2",
Expand Down

0 comments on commit ddc6692

Please sign in to comment.