Skip to content

Commit 88b1059

Browse files
chore: update npmignore, and contributing
1 parent ab819f6 commit 88b1059

File tree

3 files changed

+7
-31
lines changed

3 files changed

+7
-31
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1313

1414
- name: Publish to NPM
15-
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
15+
uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version: 20
1818
registry-url: 'https://registry.npmjs.org'
1919
- run: npm ci
2020

.npmignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
.devcontainer
21
# Included, because it helps with testing when importing straight from GitHub
32
# .freeCodeCamp/client
43
.freeCodeCamp/tests
54
# .freeCodeCamp/tsconfig.json
65
# .freeCodeCamp/webpack.config.cjs
76

7+
.devcontainer
88
.github
9+
.vscode
910
cli
1011
docs
1112
self
12-
1313
.editorconfig
1414
.gitignore
1515
.gitpod.yml
1616
.prettierignore
1717
.prettierrc
18+
CONTRIBUTING.md
1819
Dockerfile
1920
renovate.json

docs/src/contributing.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -102,33 +102,8 @@ cli$ cargo run
102102

103103
### Release
104104

105-
Releases are done automatically on pushes to the `prod` branch.
106-
107-
```admonish note title=" "
108-
The CI script will fail, if the `version` in `package.json` is not incremented, or the `package.json` and `package-lock.json` are out of sync.
109-
```
105+
Releases are done manually through the GitHub Actions.
110106

111107
#### Making a Release
112108

113-
1. Checkout the `upstream/prod` branch:
114-
115-
```bash
116-
git fetch --all
117-
git checkout remotes/upstream/prod
118-
```
119-
120-
2. Merge the `main` branch into `prod`:
121-
122-
```bash
123-
git merge remotes/upstream/main
124-
```
125-
126-
```admonish info title=" "
127-
Or, you can merge any specific commits from `main` into `prod`.
128-
```
129-
130-
3. Push the `prod` branch:
131-
132-
```bash
133-
git push upstream prod
134-
```
109+
In the `Actions` tab, select the `Publish to npm` workflow. Then, select `Run workflow`.

0 commit comments

Comments
 (0)