Skip to content
Permalink
Browse files

Use 'npm install' instead of 'npm ci'

  • Loading branch information
marcomontalbano committed Dec 2, 2019
1 parent 76c748e commit e0abbc2686beece59bab973b623f5c91b093306e
Showing with 11 additions and 9 deletions.
  1. +6 −6 .github/workflows/main.yml
  2. +2 −2 .github/workflows/publish.yml
  3. +3 −1 package.json
@@ -15,8 +15,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Project setup `npm ci`
run: npm ci
- name: Project setup `npm install`
run: npm install
- name: Run `test`
run: npm test

@@ -30,8 +30,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Project setup `npm ci`
run: npm ci
- name: Project setup `npm install`
run: npm install

- name: Run `coverage`
run: npm run coverage
@@ -56,8 +56,8 @@ jobs:
# - uses: actions/setup-node@v1
# with:
# node-version: 10.x
# - name: Project setup `npm ci`
# run: npm ci
# - name: Project setup `npm install`
# run: npm install

# - name: Run `stryker`
# run: npm run stryker
@@ -13,8 +13,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Project setup `npm ci`
run: npm ci
- name: Project setup `npm install`
run: npm install
- name: Run `publish`
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
@@ -8,14 +8,16 @@
"url": "https://github.com/marcomontalbano/figma-export"
},
"scripts": {
"postinstall": "lerna exec npm install --stream",
"postinstall": "lerna bootstrap --force-local",
"lint": "eslint . --ignore-pattern=node_modules --ignore-pattern=/output --ignore-pattern=dist",
"test": "mocha test--registers.js test--packages.js",
"test:watch": "npm test -- -w --reporter=dot",
"posttest": "npm run lint",
"coverage": "nyc --reporter=lcov --reporter=text npm test -- --reporter=dot",
"coverage:watch": "npx nodemon --exec npm run coverage",
"lerna:version": "lerna version",
"lerna:install": "lerna exec npm install --stream",
"lerna:update": "lerna exec npm update --stream",
"website:start": "lerna run --scope @figma-export/website start --stream",
"website:build": "lerna run --scope @figma-export/website build --stream"
},

0 comments on commit e0abbc2

Please sign in to comment.
You can’t perform that action at this time.