Skip to content

Commit

Permalink
Fixing publishing version
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiro committed Aug 2, 2024
1 parent f0ddffc commit 5aad0e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,18 @@ jobs:
node-version: [20.16.x, 22.5.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install
env:
CI: true

- name: Lint the project
run: npm run lint
env:
CI: true

- name: Build the project
run: npm run build
env:
CI: true
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version: "22.5.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm publish
Expand Down
2 changes: 1 addition & 1 deletion src/tapoCamera.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function main() {
const status = await tapoCamera.getStatus();
console.log("status :>> ", status);

const streamUrl = await tapoCamera.getAuthenticatedStreamUrl();
const streamUrl = tapoCamera.getAuthenticatedStreamUrl();
console.log("streamUrl :>> ", streamUrl);

await tapoCamera.setStatus("eyes", false);
Expand Down

0 comments on commit 5aad0e9

Please sign in to comment.