Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/ipa-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: main
fetch-depth: 0
sparse-checkout: |
tools/spectral/ipa
.github/scripts
- name: Fetch Versions
id: version_check
env:
BASE_BRANCH: ${{ github.ref_name }}
BASE_BRANCH: "HEAD~1"
run: |
version_changed=$(./.github/scripts/ipa_version_check.sh)
echo "Version changed? ${version_changed}"
Expand All @@ -47,7 +48,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm ci
working-directory: tools/spectral/ipa
- run: npm publish --access public
working-directory: tools/spectral/ipa
env:
NODE_AUTH_TOKEN: ${{ secrets.IPA_VALIDATION_TOKEN }}
- run: |
echo "Testing for publish workflow"
#working-directory: tools/spectral/ipa
#env:
#NODE_AUTH_TOKEN: ${{ secrets.IPA_VALIDATION_TOKEN }}
4 changes: 2 additions & 2 deletions tools/spectral/ipa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/spectral/ipa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mongodb-js/ipa-validation-ruleset",
"version": "0.0.1",
"version": "0.0.1-dev1",
"description": "Custom validation rules for MongoDB API Standards (IPA).",
"keywords": [
"mongodb",
Expand Down
Loading