Skip to content

fix: remove optional chain on process.env.PUBLIC_URL #70

fix: remove optional chain on process.env.PUBLIC_URL

fix: remove optional chain on process.env.PUBLIC_URL #70

Workflow file for this run

name: lint
on:
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
always-auth: true
scope: '@onekeyhq'
- name: Install Dependency
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true