This repository has been archived by the owner on May 15, 2024. It is now read-only.
docs(readme): innersource notice #1324
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: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '18.x' ] | |
name: Node ${{ matrix.node }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
ref: ${{ github.event.pull_request.head.sha }} | |
- run: | | |
git remote set-branches --add origin main | |
git fetch | |
- name: Node Install | |
with: | |
node-version: ${{ matrix.node }} | |
uses: actions/setup-node@v1 | |
- name: Installing Packages | |
env: | |
NODE_ENV: development | |
run: yarn install --frozen-lockfile | |
- name: Unit Tests | |
run: yarn test:unit | |
- name: Git History Test | |
run: yarn test:git-history | |
- name: Lockfile Lint Test | |
run: yarn test:lockfile | |
- name: Lint | |
run: yarn test:lint |