diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8a878aa..244db5c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,6 +7,9 @@ on:
tags:
- '!*' # Do not execute on tags
env:
+ NAME: ${{vars.NAME}}
+ EMAIL: ${{vars.EMAIL}}
+ NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
FORCE_COLOR: 1
@@ -55,8 +58,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 18.x
- - run: git clone https://${GITHUB_TOKEN}@github.com/nodef/deploy "$HOME/deploy"
- - run: bash "$HOME/deploy/setup.sh"
+ - uses: nodef/git-config.action@v1.0.0
- run: npm i -g typescript typedoc
- run: npm ci
- run: npm run publish-docs
@@ -71,8 +73,9 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 18.x
- - run: git clone https://${GITHUB_TOKEN}@github.com/nodef/deploy "$HOME/deploy"
- - run: bash "$HOME/deploy/setup.sh"
+ - uses: nodef/npm-config.action@v1.0.0
+ with:
+ entries: access = public
- run: npm i -g typescript rollup typedoc browserify terser
- run: npm ci
- run: npm run publish-packages
diff --git a/README.md b/README.md
index 6f8f800..b291f18 100644
--- a/README.md
+++ b/README.md
@@ -5,9 +5,9 @@ Useful additions to inbuilt [path] module.
📰 [Docs](https://nodef.github.io/extra-path/),
📘 [Wiki](https://github.com/nodef/extra-bit/wiki/).
-This package is available in both *Node.js* and *Web* formats. The web format
-is exposed as `extra_path` standalone variable and can be loaded from
-[jsDelivr CDN].
+This package is available in *Node.js* and *Web* formats. To use it on the web,
+simply use the `extra_path` global variable after loading with a `