Skip to content

Do not read from process.env in top level #229

Do not read from process.env in top level

Do not read from process.env in top level #229

Workflow file for this run

name: "test"
on:
pull_request:
branches: ["master"]
push:
branches: ["master"]
jobs:
test:
name: "Node ${{matrix.node_version}}"
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
node-version: [16, 18, 20]
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-node@v3"
with:
node-version: "${{matrix.node-version}}"
cache: "yarn"
- run: "yarn install --frozen-lockfile"
- run: "yarn lint"
- run: "yarn prettier -c src/"
- run: "yarn test"
- run: "yarn build"
- name: "ESM integrity"
if: matrix.node-version > 16
run: "yarn bob check"