Skip to content

Commit

Permalink
Validate
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Nov 26, 2024
1 parent 55535db commit e71e5ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/Stage 2 - Validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,26 @@ jobs:
node-version: ${{ matrix.node-version }}
- if: runner.os == 'Linux'
run: cat /etc/os-release

- if: runner.os == 'Windows'
run: systeminfo

- if: runner.os == 'macOS'
run: sw_vers

- run: npm install @homebridge/node-pty-prebuilt-multiarch@${{ needs.determine_tag.outputs.tag }}

- name: Display structure of downloaded files
run: ls -R
- run: npm run

- run: |
cd ./node_modules/@homebridge/node-pty-prebuilt-multiarch
npm run install
npm run validate
- run: |
cd ./node_modules/@homebridge/node-pty-prebuilt-multiarch
npm run test
npm run postinstall
- run: |
echo "::notice::Successfully tested ${{ github.ref_name }} on ${{ matrix.os }} with Node.js ${{ matrix.node-version }}"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"watch": "tsc -b -w ./src/tsconfig.json",
"lint": "eslint -c .eslintrc.js --ext .ts src/",
"install": "node scripts/check-prebuild.js || prebuild-install --verbose || node scripts/install.js",
"validate": "node scripts/check-prebuild.js || prebuild-install --verbose",
"postinstall": "node scripts/post-install.js",
"test": "cross-env NODE_ENV=test mocha -R spec --exit lib/*.test.js",
"posttest": "npm run lint",
Expand Down

0 comments on commit e71e5ee

Please sign in to comment.