Skip to content

Commit

Permalink
chore: change npm script for get artifacts correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kemil Beltre committed Mar 4, 2022
1 parent c14115f commit 7b09695
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 7b09695

Please sign in to comment.