Skip to content

Commit

Permalink
[#65901] drop yarn in favor of npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Trzcin committed Oct 15, 2024
1 parent fcc26fe commit f1b28cf
Show file tree
Hide file tree
Showing 6 changed files with 4,574 additions and 2,841 deletions.
10 changes: 5 additions & 5 deletions .ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ build:
stage: build
image: node:20
before_script:
- yarn
- npm ci
script:
- yarn run lint
- yarn build
- npm run lint
- npm run build
artifacts:
paths:
- dist
Expand All @@ -21,11 +21,11 @@ functional-tests:
image: node:20
dependencies: [build]
before_script:
- yarn
- npm ci
script:
- ./tests/test-server.sh
- npx playwright install --with-deps chromium
- yarn test
- npm run test
artifacts:
when: always
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Build
run: |
yarn && yarn build
npm ci && npm run build
mkdir public
mv dist/* public
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ For more examples see the exampleTransforms object in [the demo HTML](src/index.
### Building the component

```bash
yarn
yarn build
npm i && npm run build
```

### Using as a library
Expand Down Expand Up @@ -111,7 +110,7 @@ There is a demo available for the editor with some example markdown and template
To run it locally, use:

```bash
yarn dev
npm run dev
```

Your terminal will display what URL to open to see the demo.
Expand All @@ -125,7 +124,7 @@ The example server is located in the `bin` directory. To run it use:

```bash
cd bin
yarn && yarn server
npm i && npm run server
```

You can change the port it runs on with setting a `PORT` environment variable.
Expand Down
Loading

0 comments on commit f1b28cf

Please sign in to comment.