Skip to content

Merge pull request #915 from qonto/dependabot/npm_and_yarn/ember-sour… #3391

Merge pull request #915 from qonto/dependabot/npm_and_yarn/ember-sour…

Merge pull request #915 from qonto/dependabot/npm_and_yarn/ember-sour… #3391

Workflow file for this run

name: Lint
env:
FORCE_COLOR: 1
on:
push:
branches:
- master
tags:
- "*"
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: wyvox/action-setup-pnpm@v3
with:
pnpm-version: 8.5.1
node-version: 18.x
args: "--frozen-lockfile"
- name: Run Lint
run: pnpm lint
typescript-compatibility:
name: Type checking - ${{ matrix.typescript-scenario }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
typescript-scenario:
- [email protected]
- [email protected]
- typescript@next
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18.x
args: "--frozen-lockfile"
- name: Update TS version on addon package
run: pnpm add -D ${{ matrix.typescript-scenario }}
working-directory: ember-phone-input
- name: Update TS version on test-app package
run: pnpm add -D ${{ matrix.typescript-scenario }}
working-directory: test-app
- name: Type checking
run: pnpm lint:types