10000 chore!: migrate from Yarn to Npm by jfcere · Pull Request #589 · jfcere/ngx-markdown · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore!: migrate from Yarn to Npm #589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
- checkout
# Restore dependencies from cache
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
# Install dependencies
- run:
name: Install dependencies
command: yarn install --frozen-lockfile --no-progress
command: npm ci
# Cache dependencies if they don't exist
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ~/.cache/yarn
- ~/.npm
- ./node_modules
# Test the source code
- run:
name: Test
command: yarn test --watch=false --code-coverage --no-progress
command: npm run test -- --watch=false --code-coverage --no-progress
- store_artifacts:
path: test-results.xml
prefix: tests
Expand All @@ -37,22 +37,22 @@ jobs:
# Upload coverage artifacts to Coveralls
- run:
name: Push coverage artifacts
command: yarn coveralls
command: npm run coveralls
# Type check the source code
- run:
name: Type-Check
command: yarn type-check:lib
command: npm run type-check:lib
# Lint the source code
- run:
name: Lint
command: yarn lint:ci
command: npm run lint:ci
- store_artifacts:
path: eslint.xml
prefix: lint
# Build the source code
- run:
name: Build
command: yarn build:lib
command: npm run build:lib
deploy:
docker:
- image: cimg/node:20.19
Expand All @@ -61,27 +61,27 @@ jobs:
- checkout
# Restore dependencies from cache
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
# Install dependencies
- run:
name: Install dependencies
command: yarn install --frozen-lockfile --no-progress
command: npm ci
# Cache local dependencies if they don't exist
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ~/.cache/yarn
- ~/.npm
- ./node_modules
# Build demo
- run:
name: Build
command: |
yarn gh-pages:build
yarn gh-pages:postbuild
npm run gh-pages:build
npm run gh-pages:postbuild
# Deploy demo to Github Pages
- run:
name: Deploy to gh-pages
command: yarn gh-pages:deploy
command: npm run gh-pages:deploy

workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ chrome-profiler-events*.json
/libpeerconnection.log
/package
/typings
package-lock.json
yarn.lock
test-results.xml
eslint.xml
*.log
Expand Down
Loading
0