Merge pull request #197 from Giphy/dependabot/npm_and_yarn/serve-stat… #155
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: [ 'main' ] | |
pull_request: | |
branches: [ '**' ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: 👀 Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: 🛠️ Set up environment | |
uses: ./.github/actions/setup | |
with: | |
cocoa-pods: true | |
- name: 🕵️ Lint | |
run: yarn lint | |
- name: 👮 Check Types | |
run: yarn typescript | |
check-licenses: | |
name: Check Licenses | |
runs-on: macos-latest | |
steps: | |
- name: 👀 Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: 🛠️ Set up environment | |
uses: ./.github/actions/setup | |
with: | |
cocoa-pods: true | |
jdk: true | |
- name: 🏭 Generate Licenses | |
run: yarn licenses:generate | |
- name: 👮 Check Licenses | |
run: yarn licenses:check | |
env: | |
LICENSE_CATEGORIES_LOCATION: ${{ secrets.LICENSE_CATEGORIES_V2_LOCATION }} | |
LICENSE_PROJECT_LOCATION: ${{ secrets.LICENSE_PROJECT_LOCATION }} |