Make it possible to choose tcard or mobile when no inspectable token #9241
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: Lint | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.js' | |
- '**.ts' | |
- '**.tsx' | |
- '**/lint.yml' | |
jobs: | |
lint: | |
name: lint | |
strategy: | |
matrix: | |
org: [atb, nfk] | |
environment: ${{ matrix.org }} | |
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: yarn lint | |
run: yarn lint |