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
6 changes: 3 additions & 3 deletions .github/workflows/javascript-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
- name: Install modules
run: |
cd javascript
yarn
npm install

- name: Lint
run: |
cd javascript
yarn run check
npm run check

- name: Test
run: |
cd javascript
yarn run test
npm run test
14 changes: 8 additions & 6 deletions .github/workflows/javascript-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
types:
- completed

permissions:
id-token: write
contents: read

jobs:
build:
runs-on: ubuntu-24.04
Expand All @@ -28,15 +32,13 @@ jobs:
node-version: 'latest'
registry-url: 'https://registry.npmjs.org'

- name: Install modules
- name: Install modules and update NPM
run: |
cd javascript
yarn
npm install -g npm@latest
npm install

- name: Publish
if: ${{ github.ref_type == 'tag' || startsWith(github.event.workflow_run.head_branch,'v') }}
run: |
cd javascript
yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
npm publish
Loading
Loading