Skip to content

Commit

Permalink
Merge pull request #1271 from ml5js/joeyklee.devops-publish-workflow
Browse files Browse the repository at this point in the history
chore: try rm specific node version
  • Loading branch information
joeyklee authored Jan 21, 2022
2 parents 767665f + faf837a commit fa4a550
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "12.16.1"
registry-url: "https://registry.npmjs.org"
node-version: "12.x"
- run: npm ci
- run: npm run build --if-present
- run: npm publish
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ Before getting started with ml5.js, review our [Code of Conduct](https://github.




<p id="latest-version">

* You can use the latest version (0.8.6) by adding it to the head section of your HTML document:
* You can use the latest version (0.8.7) by adding it to the head section of your HTML document:

**v0.8.6**
**v0.8.7**

<script src="https://unpkg.com/[email protected].6/dist/ml5.min.js" type="text/javascript"></script>
<script src="https://unpkg.com/[email protected].7/dist/ml5.min.js" type="text/javascript"></script>

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

Expand All @@ -56,6 +57,7 @@ Before getting started with ml5.js, review our [Code of Conduct](https://github.







Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ml5",
"version": "0.8.6",
"version": "0.8.7",
"description": "A friendly machine learning library for the web.",
"main": "dist/ml5.min.js",
"directories": {
Expand Down

0 comments on commit fa4a550

Please sign in to comment.