diff --git a/.github/workflows/debugging.yml b/.github/workflows/debugging.yml index 1bfe4e9c9..bcb117810 100644 --- a/.github/workflows/debugging.yml +++ b/.github/workflows/debugging.yml @@ -6,13 +6,21 @@ on: - joeyklee.devops-publish-workflow jobs: - publish-npm: + debugging: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + persist-credentials: false + - name: Reconfigure git to use HTTP authentication + run: > + git config --global url."https://github.com/".insteadOf + ssh://git@github.com/ - uses: actions/setup-node@v2 with: node-version: "12.x" registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: echo "passed npm ci" + - run: npm i + - run: echo "passed npm i" + - run: npm run build + - run: echo "passed build" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5893cb81a..1add6bb14 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,12 +14,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: "12.x" - registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + with: + persist-credentials: false + - name: Reconfigure git to use HTTP authentication + run: > + git config --global url."https://github.com/".insteadOf + ssh://git@github.com/ + - uses: actions/setup-node@v2 + with: + node-version: "12.x" + registry-url: https://registry.npmjs.org/ + - run: npm i + - run: npm run build + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/README.md b/README.md index 733030134..bba7c347a 100644 --- a/README.md +++ b/README.md @@ -39,14 +39,15 @@ Before getting started with ml5.js, review our [Code of Conduct](https://github. +

-* You can use the latest version (0.8.8) by adding it to the head section of your HTML document: +* You can use the latest version (0.8.9) by adding it to the head section of your HTML document: -**v0.8.8** +**v0.8.9** - +

@@ -60,6 +61,7 @@ Before getting started with ml5.js, review our [Code of Conduct](https://github. + diff --git a/package-lock.json b/package-lock.json index 5032eb66d..2e33a54f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ml5", - "version": "0.8.8", + "version": "0.8.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ml5", - "version": "0.8.8", + "version": "0.8.9", "license": "MIT", "dependencies": { "@magenta/sketch": "0.2.0", diff --git a/package.json b/package.json index 71117747a..7a41f5238 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ml5", - "version": "0.8.8", + "version": "0.8.9", "description": "A friendly machine learning library for the web.", "main": "dist/ml5.min.js", "directories": {