Skip to content

chore(deps): update dependency ts-node to v10.9.2 #52

chore(deps): update dependency ts-node to v10.9.2

chore(deps): update dependency ts-node to v10.9.2 #52

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
- legacy
pull_request:
branches:
- main
- legacy
#env:
#NX_CLOUD_DISTRIBUTED_EXECUTION: true
#NX_CLOUD_ACCESS_TOKEN: '${{ secrets.NX_CLOUD_ACCESS_TOKEN }}'
#NX_BRANCH: '${{github.event.pull_request.number || github.ref_name}}'
jobs:
main:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
steps:
- uses: actions/checkout@v4
name: Checkout [main]
with:
fetch-depth: 0
#- name: Derive appropriate SHAs for base and head for `nx affected` commands
# uses: nrwl/nx-set-shas@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm version
id: pnpm-version
run: |
echo "$(pnpm --version)"
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install --no-frozen-lockfile
#- run: npx nx-cloud start-ci-run
#- run: pnpm run prettify:ci:readme
- run: npx lerna run build:ci #--concurrency 3
#- run: npx nx-cloud stop-all-agents
pr:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
#- name: Derive appropriate SHAs for base and head for `nx affected` commands
# uses: nrwl/nx-set-shas@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm version
id: pnpm-version
run: |
echo "$(pnpm --version)"
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install --no-frozen-lockfile
#- run: npx nx-cloud start-ci-run
#- run: pnpm run prettify:ci:readme
- run: npx lerna run build:ci #--concurrency 3
#- run: npx nx-cloud stop-all-agents
- run: echo ${{ github.repository_owner }}
- run: echo ${{ github.actor }}
# agents:
# runs-on: ubuntu-latest
# name: Nx Agent
# timeout-minutes: 60
# strategy:
# matrix:
# agent: [ 1, 2, 3 ]
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: '16'
# - uses: pnpm/[email protected]
# name: Install pnpm
# id: pnpm-install
# with:
# version: 8
# run_install: false
# - name: Get pnpm version
# id: pnpm-version
# run: |
# echo "$(pnpm --version)"
#
# - name: Get pnpm store directory
# id: pnpm-cache
# run: |
# echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
#
# - uses: actions/cache@v3
# name: Setup pnpm cache
# with:
# path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# restore-keys: |
# ${{ runner.os }}-pnpm-store-
# - run: pnpm install --no-frozen-lockfile
# - name: Start Nx Agent ${{ matrix.agent }}
# run: npx nx-cloud start-agent