Skip to content

Commit 74bc93b

Browse files
authored
Merge pull request #1274 from ml5js/joeyklee.devops-publish-workflow
Joeyklee.devops publish workflow
2 parents 0377321 + 6fa1cf5 commit 74bc93b

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ jobs:
1616
- uses: actions/checkout@v2
1717
with:
1818
persist-credentials: false
19-
- name: Reconfigure git to use HTTP authentication
20-
run: >
21-
git config --global url."https://github.com/".insteadOf
22-
23-
- uses: actions/setup-node@v2
24-
with:
25-
node-version: "12.x"
26-
registry-url: https://registry.npmjs.org/
27-
- run: npm i
28-
- run: npm run build
29-
- run: npm publish
30-
env:
31-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
19+
- name: Reconfigure git to use HTTP authentication
20+
run: >
21+
git config --global url."https://github.com/".insteadOf
22+
23+
- uses: actions/setup-node@v2
24+
with:
25+
node-version: "12.x"
26+
registry-url: https://registry.npmjs.org/
27+
- run: npm i
28+
- run: npm run build
29+
- run: npm publish
30+
env:
31+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ Before getting started with ml5.js, review our [Code of Conduct](https://github.
3939

4040

4141

42+
4243

4344

4445
<p id="latest-version">
4546

46-
* You can use the latest version (0.8.9) by adding it to the head section of your HTML document:
47+
* You can use the latest version (0.8.10) by adding it to the head section of your HTML document:
4748

48-
**v0.8.9**
49+
**v0.8.10**
4950

50-
<script src="https://unpkg.com/[email protected].9/dist/ml5.min.js" type="text/javascript"></script>
51+
<script src="https://unpkg.com/[email protected].10/dist/ml5.min.js" type="text/javascript"></script>
5152

5253
</p data-id="latest-version">
5354

@@ -62,6 +63,7 @@ Before getting started with ml5.js, review our [Code of Conduct](https://github.
6263

6364

6465

66+
6567

6668

6769

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ml5",
3-
"version": "0.8.9",
3+
"version": "0.8.10",
44
"description": "A friendly machine learning library for the web.",
55
"main": "dist/ml5.min.js",
66
"directories": {

0 commit comments

Comments
 (0)