-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: graphql not working * fix: form input re-render loop * fix: navigation ui * fix: API & gql * feat: extend list of restricted content types * fix: tests and circleci * fix: settings form * fix: additional field name validator * fix: align tests config * fix: additional fields * fix: nav item form, additional fields, move to Strapi useForm * fix: circleci cfg changes * fix: rest endpoint and additional fields * fix: bughunt awaited and skipped tests --------- Co-authored-by: CodeVoyager <[email protected]>
- Loading branch information
1 parent
899a92a
commit 8e7069b
Showing
65 changed files
with
19,531 additions
and
1,134 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,13 @@ version: 2.1 | |
orbs: | ||
codecov: codecov/[email protected] | ||
jobs: | ||
build-and-test: | ||
test: | ||
environment: | ||
CODECOV_TOKEN: c803c20c-c45d-4a63-9ba9-58c7d5d05bbf | ||
docker: | ||
- image: cimg/node:18.18.2 | ||
- image: cimg/node:20.12.2 | ||
working_directory: ~/repo | ||
resource_class: large | ||
steps: | ||
- checkout | ||
- run: | ||
|
@@ -27,26 +28,67 @@ jobs: | |
command: | | ||
node --version | ||
yarn --version | ||
- run: | ||
name: Configure NPM | ||
command: | | ||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc | ||
- run: | ||
name: Install | ||
command: | | ||
yarn install | ||
- run: | ||
name: Build | ||
name: Test | ||
command: | | ||
yarn build | ||
# - run: | ||
# name: Test | ||
# command: | | ||
# yarn test:unit | ||
# - codecov/upload: | ||
# flags: unittest | ||
# file: | ||
yarn test:unit:ci | ||
environment: | ||
JEST_JUNIT_OUTPUT_DIR: ./reports/ | ||
- store_test_results: | ||
path: ./reports/ | ||
- codecov/upload: | ||
flags: unittest | ||
file: | ||
- save_cache: | ||
paths: | ||
- ./node_modules | ||
key: strapi-plugin-navigation-v3-{{ checksum "yarn.lock" }} | ||
- persist_to_workspace: | ||
root: ~/repo | ||
paths: . | ||
deploy: | ||
environment: | ||
CODECOV_TOKEN: c803c20c-c45d-4a63-9ba9-58c7d5d05bbf | ||
docker: | ||
- image: cimg/node:20.12.2 | ||
working_directory: ~/repo | ||
resource_class: large | ||
steps: | ||
- attach_workspace: | ||
at: ~/repo | ||
- run: | ||
name: Configure NPM | ||
command: | | ||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc | ||
- run: | ||
name: Build | ||
command: | | ||
yarn build | ||
- run: | ||
name: Publish package | ||
command: npm publish --tag beta | ||
|
||
workflows: | ||
build-and-test: | ||
jobs: | ||
- build-and-test | ||
version: 2 | ||
test-deploy: | ||
jobs: | ||
- test: | ||
filters: | ||
tags: | ||
only: /^v.*/ | ||
- deploy: | ||
requires: | ||
- test | ||
filters: | ||
tags: | ||
only: /^v.*/ | ||
branches: | ||
ignore: /.*/ |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v18.14.0 | ||
v20.12.0 |
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
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
Oops, something went wrong.