chore: prepare release 1.6.0 #12
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| package-and-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: npm | |
| cache-dependency-path: | | |
| package-lock.json | |
| example/package-lock.json | |
| - name: Install root dependencies | |
| run: npm ci | |
| - name: Typecheck package | |
| run: npm run typecheck | |
| - name: Validate npm package contents | |
| run: npm pack --dry-run --json | |
| - name: Install example dependencies | |
| run: npm ci | |
| working-directory: example | |
| - name: Verify example install-links | |
| run: | | |
| test "$(npm config get install-links)" = "true" | |
| test ! -L node_modules/@marcocrupi/react-native-keep-awake-plus | |
| working-directory: example | |
| - name: Test example | |
| run: npm test | |
| working-directory: example |