Update to beta #421
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PHP8.3 | |
| on: | |
| push: | |
| branches: [ beta,master,alpha ] | |
| pull_request: | |
| branches: [ beta,master,alpha ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [20.x, 22.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: | | |
| npm install | |
| - name: PHP Syntax Checker (Lint) | |
| uses: StephaneBour/actions-php-lint@8.4 | |
| with: | |
| dir: '.' | |
| - name: Run ESLint | |
| run: npm run lint | |
| - name: Install dependencies in resources | |
| run: cd resources && npm install | |
| - name: Download jeedom.js | |
| run: cd resources/utils && wget https://raw.githubusercontent.com/NebzHB/nodejsToJeedom/main/jeedom.js | |
| - name: Start Daemon | |
| run: nohup npm start & | |
| - name: Wait for the server to be ready | |
| run: sleep 5 | |
| - name: Verify server is running | |
| run: | | |
| curl --fail http://localhost:1555/stop || exit 1 |