Skip to content

Commit 6cc7ae3

Browse files
committedDec 16, 2023
fix(nightly-ci): apply some fixes for nightly releases
1 parent 108b183 commit 6cc7ae3

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed
 

Diff for: ‎.github/workflows/nightly.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: nightly release
22

33
on:
44
workflow_run:
5-
workflows:
6-
- ci
5+
workflows: [ci]
6+
types: [completed]
7+
branches: [main]
78

89
jobs:
910
nightly:
@@ -21,7 +22,7 @@ jobs:
2122
- run: pnpm install
2223
- run: pnpm build
2324

24-
- run: pnpm changelogen --bump --canary --publish
25+
- run: pnpm changelogen --bump --canary --publish --publishTag nightly
2526
env:
26-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2728
NPM_CONFIG_PROVENANCE: true

Diff for: ‎docs/content/1.getting-started/1.setup.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,17 @@ After each commit is merged into the `main` branch of `@nuxtjs/tailwindcss` and
5858

5959
You can opt in to use this release channel and avoid waiting for the next release and helping the module by beta testing changes.
6060

61-
The build and publishing method and quality of nightly releases are the same as stable ones. The only difference is that you should often check the [GitHub repository](https://github.com/nuxt/image) for updates. There is a slight chance of regressions not being caught during the review process and by the automated tests. Therefore, we internally use this channel to double-check everything before each release.
61+
The build and publishing method and quality of nightly releases are the same as stable ones. The only difference is that you should often check the [GitHub repository](https://github.com/nuxt-modules/tailwindcss) for updates. There is a slight chance of regressions not being caught during the review process and by the automated tests. Therefore, we internally use this channel to double-check everything before each release.
6262

63-
<!-- TODO -->
64-
<!-- #### Opting into the nightly channel
63+
### Opting into the nightly channel
6564

6665
Update `@nuxtjs/tailwindcss` dependency inside `package.json`:
6766

6867
```diff [package.json]
6968
{
7069
"devDependencies": {
7170
- "@nuxtjs/tailwindcss": "^6.10.0"
72-
+ "@nuxtjs/tailwindcss": "npm:@nuxtjs/tailwindcss-edge@latest"
71+
+ "@nuxtjs/tailwindcss": "npm:@nuxtjs/tailwindcss@nightly"
7372
}
7473
}
7574
```
@@ -83,13 +82,13 @@ Update `@nuxtjs/tailwindcss` dependency inside `package.json`:
8382
```diff [package.json]
8483
{
8584
"devDependencies": {
86-
- "@nuxtjs/tailwindcss": "npm:@nuxtjs/tailwindcss@latest"
87-
+ "@nuxtjs/tailwindcss": "^1.0.0"
85+
- "@nuxtjs/tailwindcss": "npm:@nuxtjs/tailwindcss@nightly"
86+
+ "@nuxtjs/tailwindcss": "^6.10.0"
8887
}
8988
}
9089
```
9190

92-
Remove lockfile (`package-lock.json`, `yarn.lock`, or `pnpm-lock.yaml`) and reinstall dependencies. -->
91+
Remove lockfile (`package-lock.json`, `yarn.lock`, or `pnpm-lock.yaml`) and reinstall dependencies.
9392

9493
## Tailwind Files
9594

0 commit comments

Comments
 (0)
Please sign in to comment.