Skip to content

Commit

Permalink
change from yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
russbiggs committed Nov 12, 2024
1 parent 7c7b9a3 commit 51da7e3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 1,066 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4

- name: Install npm dependencies
run: yarn install
run: npm install

- name: Build
uses: openaq/hugo-build-action@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0

- name: Install npm dependencies
run: yarn install
run: npm install

- name: Build
uses: openaq/hugo-build-action@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fetch-depth: 0

- name: Install npm dependencies
run: yarn install
run: npm install

- name: Build
uses: openaq/hugo-build-action@main
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@fullhuman/postcss-purgecss": "^5.0.0",
"autoprefixer": "^10.4.13",
"cssnano": "^5.1.14",
"postcss": "^8.4.21",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0"
}
}
12 changes: 4 additions & 8 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,22 @@ This section contains the end-to-end testing of the website using the [Playwrigh

## Development

Using Node v16 install the packages using yarn:
Using Node v20 install the packages using npm:

```sh
yarn install && yarn playwright install
npm install && npm playwright install
```

Before testing ensure the Hugo development server is running the site on port 1313 (default)

Once the installation has finished run the tests using:

```
yarn playwright test
npm playwright test
```

To run the tests with tracing enabled run

```sh
yarn playwright test --trace on
npm playwright test --trace on
```




21 changes: 0 additions & 21 deletions tests/yarn.lock

This file was deleted.

Loading

0 comments on commit 51da7e3

Please sign in to comment.