Skip to content

fix: Update use of usePreviousPaymentMethods after merge (#4718) #10574

fix: Update use of usePreviousPaymentMethods after merge (#4718)

fix: Update use of usePreviousPaymentMethods after merge (#4718) #10574

Workflow file for this run

name: TypeScript Check, Lint & Test
on:
workflow_dispatch:
push:
paths:
- '**.js'
- '**.ts'
- '**.tsx'
- '**/tsc.yml'
- '**.lock'
- 'package.json'
- 'patches/**'
jobs:
tsc:
name: tsc
strategy:
matrix:
org: [atb, nfk, fram, troms]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v18
uses: actions/setup-node@v1
with:
node-version: 18
- name: Add Entur private registry credentials
run: sh ./scripts/add-entur-private-registry.sh
env:
ENTUR_REGISTRY_USER: ${{ vars.ENTUR_REGISTRY_USER }}
ENTUR_REGISTRY_TOKEN: ${{ secrets.ENTUR_REGISTRY_TOKEN }}
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/patches/**.patch') }}
- name: yarn install
run: yarn install --frozen-lockfile
- name: Install assets
run: sh ./scripts/generate-assets.sh ${{ matrix.org }}
- name: tsc
uses: icrawl/action-tsc@v1
- name: Run lint
run: yarn lint
- name: Run tests
run: yarn test