Skip to content

Setup CI

Setup CI #16

Workflow file for this run

name: Pull Request into Master or Develop
on:
# Triggers the workflow on a pull request pointed at develop or master.
pull_request:
branches:
- "master"
- "develop"
# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:
jobs:
install-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 19
uses: actions/setup-node@v3
with:
node-version: 19
cache: "npm"
- name: Install Node modules
run: npm ci
- name: Linting
run: npm run lint
- name: Unit & Integration tests
run: npm test
- name: Jest coverage report
uses: ArtiomTr/[email protected]
with:
coverage-file: ./jest-report.json
base-coverage-file: ./jest-report.json
build-ios:
needs: install-and-test
uses: ./.github/workflows/ios-build.yml

Check failure on line 44 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull_request.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pull_request.yml" -> "./.github/workflows/ios-build.yml" : failed to fetch workflow: workflow was not found.
with:
environment: release
secrets: inherit