Skip to content

feat: STRF-12284 Add dependabot #158

feat: STRF-12284 Add dependabot

feat: STRF-12284 Add dependabot #158

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: [14.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
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=${{ GITHUB_TOKEN }}" >> ~/.npmrc

Check failure on line 30 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 30, Col: 14): Unrecognized named-value: 'GITHUB_TOKEN'. Located at position 1 within expression: GITHUB_TOKEN
- 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