-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): Add Missing inherit filters field in collection import (#…
- Loading branch information
1 parent
639fa0f
commit ef64db7
Showing
5 changed files
with
18 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
# Temporarily disabled Node v18 because of this issue: | ||
# https://github.com/vendure-ecommerce/vendure/actions/runs/5200017548/jobs/9378196658#step:4:48 | ||
# which is related to our Verdaccio setup. Will need some investigation. | ||
#node-version: [16.x, 18.x] | ||
node-version: [16.x] | ||
node-version: [18.x, 20.x] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -35,37 +31,29 @@ jobs: | |
- name: Install Verdaccio | ||
run: | | ||
npm install -g verdaccio | ||
npm install -g verdaccio-auth-memory | ||
npm install -g verdaccio-memory | ||
npm install -g [email protected] | ||
npm install -g wait-on | ||
tmp_registry_log=`mktemp` | ||
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 &>$tmp_registry_log & | ||
npm-auth-to-token -u test -p test -e [email protected] -r http://0.0.0.0:4873 | ||
nohup verdaccio &>$tmp_registry_log & | ||
wait-on http://localhost:4873 | ||
TOKEN_RES=$(curl -XPUT \ | ||
-H "Content-type: application/json" \ | ||
-d '{ "name": "test", "password": "test" }' \ | ||
'http://localhost:4873/-/user/org.couchdb.user:test') | ||
TOKEN=$(echo "$TOKEN_RES" | jq -r '.token') | ||
npm set registry "http://0.0.0.0:4873" | ||
npm set //0.0.0.0:4873/:_authToken $TOKEN | ||
- name: Windows dependencies | ||
if: matrix.os == 'windows-latest' | ||
run: npm install -g @angular/cli | ||
# - name: Get yarn cache directory path | ||
# id: yarn-cache-dir-path | ||
# run: echo "::set-output name=dir::$(yarn cache dir)" | ||
# - uses: actions/cache@v3 | ||
# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||
# with: | ||
# path: '**/node_modules' | ||
# key: ${{ runner.os }}-${{ matrix.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-${{ matrix.node-version }}-yarn- | ||
- name: Yarn install | ||
# if: steps.yarn-cache.outputs.cache-hit != 'true' | ||
run: | | ||
yarn config set unsafe-perm true | ||
yarn install --network-timeout 1000000 --prefer-offline | ||
env: | ||
CI: true | ||
- name: Publish to Verdaccio | ||
run: | | ||
yarn lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://0.0.0.0:4873 | ||
yarn lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://localhost:4873 | ||
- name: Install via @vendure/create | ||
run: | | ||
mkdir -p $HOME/install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters