Skip to content

Commit

Permalink
Run npm ci when installing on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
plumdog committed Nov 25, 2021
1 parent 740f303 commit abc1e62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm ci
- run: npm run compile
- run: cd build && npm publish
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm ci
- run: npm run compile
# Test the construct
- run: npm run lint-check
Expand Down

0 comments on commit abc1e62

Please sign in to comment.