Fakultas Ilmu Komputer UI

Commit d3fc9f1d authored by Shafiya Adzhani's avatar Shafiya Adzhani
Browse files

fix gitlab ci

parent 5d51e06c
Pipeline #77481 passed with stages
in 14 minutes and 50 seconds
......@@ -11,9 +11,6 @@ setup:
stage: setup
script:
- npm ci
except:
changes:
- "README.md"
cache:
key: dependency
paths:
......@@ -24,9 +21,6 @@ lint:
script:
- npm install eslint eslint-plugin-jest eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-testing-library
- node_modules/eslint/bin/eslint.js .
except:
changes:
- "README.md"
cache:
key: dependency
policy: pull
......@@ -37,9 +31,6 @@ test:
stage: test-build
script:
- npm run test:coverage
except:
changes:
- "README.md"
artifacts:
expire_in: 1 hour
paths:
......@@ -55,9 +46,6 @@ build:
stage: test-build
script:
- npm run build
except:
changes:
- "README.md"
artifacts:
expire_in: 1 hour
paths:
......@@ -76,9 +64,6 @@ integration:
- npm run cypress:install
- npm run start:gitlab
- npm run cypress:gitlab
except:
changes:
- "README.md"
cache:
key: dependency
policy: pull
......@@ -122,9 +107,6 @@ SonarScanner:
deploy-staging:
stage: deploy
except:
changes:
- "README.md"
script:
- npm install netlify-cli -g --unsafe-perm=true
- netlify deploy --site $NETLIFY_SITE_ID_STAGING --auth $NETLIFY_AUTH_TOKEN --prod
......@@ -135,9 +117,6 @@ deploy-staging:
deploy-master:
stage: deploy
except:
changes:
- "README.md"
script:
- npm install netlify-cli -g --unsafe-perm=true
- netlify deploy --site $NETLIFY_SITE_ID --auth $NETLIFY_AUTH_TOKEN --prod
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment