fix: replace global
with globalThis
#64
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize] | |
permissions: {} | |
jobs: | |
unit-tests: | |
if: github.repository == 'angular/domino' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0 | |
with: | |
# Setting persist-credentials instructs actions/checkout not to persist the credentials | |
# in configuration or environment. Since we don't rely on the credentials used for | |
# checkout this is an improved security measure. | |
persist-credentials: false | |
submodules: true | |
- uses: actions/cache@v3 | |
with: | |
path: /.yarn/cache | |
key: v1-${{hashFiles('yarn.lock')}} | |
- run: yarn install --immutable | |
- run: yarn mocha -R spec |