Skip to content

Commit

Permalink
Disable CI for now
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Oct 8, 2023
1 parent a88a900 commit 051cb38
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
name: NodeJS Continuous Health Check
# name: NodeJS Continuous Health Check

on:
push:
branches: [master]
paths-ignore:
- 'documentation/**'
- 'README.md'
- 'errors.log'
pull_request:
branches: [master]
paths-ignore:
- 'documentation/**'
- 'README.md'
- 'errors.log'
# on:
# push:
# branches: [master]
# paths-ignore:
# - 'documentation/**'
# - 'README.md'
# - 'errors.log'
# pull_request:
# branches: [master]
# paths-ignore:
# - 'documentation/**'
# - 'README.md'
# - 'errors.log'

jobs:
node_ci:
runs-on: ${{ matrix.os }}
env:
NODE_CACHE: 'npm'
PARALLEL: 1
# jobs:
# node_ci:
# runs-on: ${{ matrix.os }}
# env:
# NODE_CACHE: 'npm'
# PARALLEL: 1

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [18]
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest]
# node: [18]

steps:
- name: Check out repository
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
uses: actions/checkout@v3
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
- name: Setup node env
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: false
registry-url: https://registry.npmjs.org
cache: ${{ env.NODE_CACHE }}
- uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'master'
- name: Install deps
run: npm ci --prefer-offline --no-audit
- name: Build affected
run: npm run build
# - name: Test affected
# run: npm run test
- name: Lint affected
run: npm run lint
# steps:
# - name: Check out repository
# if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
# uses: actions/checkout@v3
# with:
# # We need to fetch all branches and commits so that Nx affected has a base to compare against.
# fetch-depth: 0
# - name: Setup node env
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node }}
# check-latest: false
# registry-url: https://registry.npmjs.org
# cache: ${{ env.NODE_CACHE }}
# - uses: nrwl/nx-set-shas@v3
# with:
# main-branch-name: 'master'
# - name: Install deps
# run: npm ci --prefer-offline --no-audit
# - name: Build affected
# run: npm run build
# # - name: Test affected
# # run: npm run test
# - name: Lint affected
# run: npm run lint

0 comments on commit 051cb38

Please sign in to comment.