This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
docs: update to use GitHub instead of GitLab #6
This file contains 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: | |
branches: [develop] | |
pull_request: | |
branches: [main, develop, staging] | |
jobs: | |
ci: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/[email protected]" | |
- name: "Setup Node.js" | |
uses: "actions/[email protected]" | |
with: | |
node-version: "20.x" | |
cache: "npm" | |
- run: "npm clean-install" | |
- run: "npm run expo:typed-routes" | |
- run: 'npm run lint:commit -- --to "${{ github.sha }}"' | |
- run: "npm run lint:prettier" | |
- run: "npm run lint:eslint" | |
- run: "npm run lint:typescript" | |
- run: "npm run test" |