Skip to content

CI: Remove Unused env var #159

CI: Remove Unused env var

CI: Remove Unused env var #159

Workflow file for this run

name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: |
yarn
yarn lint
yarn build
test:
name: Run Tests
runs-on: ubuntu-latest
env:
BASIC_API_KEY: ${{ secrets.BASIC_API_KEY }}
PLUS_API_KEY: ${{ secrets.PLUS_API_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- run: |
yarn
yarn test