Do not read from process.env in top level #229
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |