|
|
@@ -36,13 +36,13 @@ jobs:
|
|
|
mkdir -p $HOME/.config/verdaccio
|
|
|
cp -v ./.github/workflows/verdaccio/config.yaml $HOME/.config/verdaccio/config.yaml
|
|
|
nohup verdaccio --config $HOME/.config/verdaccio/config.yaml &
|
|
|
- wait-on http://127.0.0.1:4873
|
|
|
+ wait-on http://::1:4873
|
|
|
TOKEN_RES=$(curl -XPUT \
|
|
|
-H "Content-type: application/json" \
|
|
|
-d '{ "name": "test", "password": "test" }' \
|
|
|
- 'http://127.0.0.1:4873/-/user/org.couchdb.user:test')
|
|
|
+ 'http://::1:4873/-/user/org.couchdb.user:test')
|
|
|
TOKEN=$(echo "$TOKEN_RES" | jq -r '.token')
|
|
|
- npm set //127.0.0.1:4873/:_authToken $TOKEN
|
|
|
+ npm set //::1:4873/:_authToken $TOKEN
|
|
|
- name: Windows dependencies
|
|
|
if: matrix.os == 'windows-latest'
|
|
|
run: npm install -g @angular/cli
|
|
|
@@ -54,15 +54,15 @@ jobs:
|
|
|
- name: Publish to Verdaccio
|
|
|
run: |
|
|
|
nohup verdaccio --config $HOME/.config/verdaccio/config.yaml &
|
|
|
- wait-on http://127.0.0.1:4873
|
|
|
- lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://127.0.0.1:4873
|
|
|
+ wait-on http://::1:4873
|
|
|
+ lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://::1:4873
|
|
|
- name: Install via @vendure/create
|
|
|
run: |
|
|
|
mkdir -p $HOME/install
|
|
|
cd $HOME/install
|
|
|
nohup verdaccio --config $HOME/.config/verdaccio/config.yaml &
|
|
|
- wait-on http://127.0.0.1:4873
|
|
|
- npm set registry=http://127.0.0.1:4873
|
|
|
+ wait-on http://::1:4873
|
|
|
+ npm set registry=http://::1:4873
|
|
|
npm dist-tag ls @vendure/create
|
|
|
npx @vendure/create@ci test-app --ci --use-npm --log-level info
|
|
|
- name: Server smoke tests
|