Main #415
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: Main | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| actions: write | |
| contents: read | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: node:12.16.1-alpine | |
| name: Node | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: apk update && apk add curl git | |
| - name: Install qlty | |
| run: | | |
| curl https://qlty.sh/install.sh | bash | |
| - name: Run qlty | |
| run: | | |
| git status | |
| qlty --version |