-
Notifications
You must be signed in to change notification settings - Fork 41
feat: Command Line SDK update for version 13.0.0-rc.2 #225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,15 +1,21 @@ | ||||||||||||||
| name: Publish Package to npmjs | ||||||||||||||
|
|
||||||||||||||
| on: | ||||||||||||||
| release: | ||||||||||||||
| types: [published] | ||||||||||||||
|
|
||||||||||||||
| permissions: | ||||||||||||||
| id-token: write | ||||||||||||||
| contents: read | ||||||||||||||
|
Comment on lines
+7
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix YAML indentation syntax error. The 🔎 Proposed fix permissions:
-id-token: write
+ id-token: write
contents: read📝 Committable suggestion
Suggested change
🧰 Tools🪛 actionlint (1.7.9)9-9: could not parse as YAML: mapping values are not allowed in this context (syntax-check) 🪛 YAMLlint (1.37.1)[error] 9-9: syntax error: mapping values are not allowed here (syntax) 🤖 Prompt for AI Agents |
||||||||||||||
|
|
||||||||||||||
| jobs: | ||||||||||||||
| build-for-linux-and-windows: | ||||||||||||||
| build-and-publish: | ||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||
| steps: | ||||||||||||||
| - uses: actions/checkout@v2 | ||||||||||||||
| - uses: actions/setup-node@v2 | ||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||
| - uses: actions/setup-node@v4 | ||||||||||||||
| with: | ||||||||||||||
| node-version: '16.x' | ||||||||||||||
| node-version: '22' | ||||||||||||||
| registry-url: 'https://registry.npmjs.org' | ||||||||||||||
| - name: Setup binfmt with QEMU | ||||||||||||||
| run: | | ||||||||||||||
|
|
@@ -22,9 +28,9 @@ jobs: | |||||||||||||
| cd ./ldid | ||||||||||||||
| sudo make | ||||||||||||||
| sudo make install | ||||||||||||||
| - name: Install dependenices and build for Linux and Windows | ||||||||||||||
| - name: Install dependencies and build for Linux and Windows | ||||||||||||||
| run: | | ||||||||||||||
| npm install | ||||||||||||||
| npm ci | ||||||||||||||
| npm run linux-x64 | ||||||||||||||
| npm run linux-arm64 | ||||||||||||||
| npm run windows-x64 | ||||||||||||||
|
|
@@ -35,13 +41,11 @@ jobs: | |||||||||||||
| run: | | ||||||||||||||
| if ${{ contains(github.event.release.tag_name, '-rc') }}; then | ||||||||||||||
| echo "Publishing Release Candidate ${{ github.event.release.tag_name}} to NPM" | ||||||||||||||
| npm publish --tag next | ||||||||||||||
| npm publish --provenance --access public --tag next | ||||||||||||||
| else | ||||||||||||||
| echo "Publishing ${{ github.event.release.tag_name}} to NPM" | ||||||||||||||
| npm publish | ||||||||||||||
| npm publish --provenance --access public | ||||||||||||||
| fi | ||||||||||||||
ChiragAgg5k marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
| env: | ||||||||||||||
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_NO_ORG }} | ||||||||||||||
| - uses: fnkr/github-action-ghr@v1 | ||||||||||||||
| env: | ||||||||||||||
| GHR_PATH: build/ | ||||||||||||||
|
|
||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.