chore(deps): update dependency @types/node to v16.18.97 #123
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Build Check | |
on: | |
- push | |
jobs: | |
build: | |
name: Build Check | |
runs-on: ubuntu-latest | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- name: Checkout GIT | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v2 | |
id: yarn-cache | |
with: | |
path: | | |
${{ steps.yarn-cache-dir-path.outputs.dir }} | |
**\node_modules | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install yarn dependencies | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: yarn install | |
- name: Lint projects | |
run: yarn nx run-many --target lint --all --parallel | |
- name: Build projects | |
run: yarn nx run-many --target build --all --parallel --with-deps | |
- name: Test projects | |
run: yarn nx run-many --target test --all --parallel | |
- name: Release effected projects | |
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' | |
run: yarn nx affected --target=release --base=HEAD~1 --head=HEAD |