Skip to content

Reload page when we get a 401 back from bcapp #181

Reload page when we get a 401 back from bcapp

Reload page when we get a 401 back from bcapp #181

Workflow file for this run

name: Build
on:
pull_request:
branches: [ master, main, bodl ]
push:
branches: [ master, main, bodl ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Set npm registry
run: echo "@bigcommerce-labs:registry=https://npm.pkg.github.com/" >> ~/.npmrc
- name: Set npm secrets
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.DEPENDABOT_GITHUB_TOKEN }}" >> ~/.npmrc
- name: Install Dependencies
run: npm i
- name: Lint the code
run: npm run lint
- name: Run test with coverage
run: npm run test-with-coverage