Skip to content

Commit

Permalink
[Capitalize CR title whose length should be < 72 chars]
Browse files Browse the repository at this point in the history
**Description**

**Motivation**

**Testing Done**

**Backwards Compatibility Criteria (if any)**
  • Loading branch information
Arkaprava De committed Apr 28, 2024
1 parent b1422f5 commit 8c42579
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 51 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,61 +151,10 @@ jobs:
./actionlint -color -shellcheck= -ignore "set-output"
shell: bash

test-unit:
name: Run unit tests
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: |
**/*.ts
files_ignore: |
lib/vscode/**
- name: Install Node.js
if: steps.changed-files.outputs.any_changed == 'true'
uses: actions/setup-node@v4
with:
node-version-file: .node-version

- name: Fetch dependencies from cache
if: steps.changed-files.outputs.any_changed == 'true'
id: cache-node-modules
uses: actions/cache@v4
with:
path: "**/node_modules"
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-build-
- name: Install dependencies
if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-node-modules.outputs.cache-hit != 'true'
run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile

- name: Run unit tests
if: steps.changed-files.outputs.any_changed == 'true'
run: yarn test:unit

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: success()

build:
name: Build code-server
runs-on: ubuntu-20.04
timeout-minutes: 60
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.18.2

0 comments on commit 8c42579

Please sign in to comment.