Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
be28865
chore: good progress
johnjenkins Feb 8, 2026
6924cef
chore:
johnjenkins Feb 8, 2026
f3fed45
chore:
johnjenkins Feb 8, 2026
b0e54ef
chore:
johnjenkins Feb 8, 2026
c03010f
chore:
johnjenkins Feb 8, 2026
9434fe4
chore:
johnjenkins Feb 8, 2026
a165637
chore:
johnjenkins Feb 9, 2026
275719a
chore:
johnjenkins Feb 9, 2026
292adbe
chore:
johnjenkins Feb 9, 2026
ff47036
chore: add readmes and move config flags to cli
johnjenkins Feb 9, 2026
0b7e2ba
chore: core testing module
johnjenkins Feb 9, 2026
595a1ff
chore: remove alias. Add virtual modules
johnjenkins Feb 9, 2026
6a08e14
chore: add type build
johnjenkins Feb 9, 2026
cc8a63f
chore: core type generation
johnjenkins Feb 9, 2026
fb8ef8f
chore: include pre-built types
johnjenkins Feb 9, 2026
e48b9ac
chore: sourcemaps all the time
johnjenkins Feb 9, 2026
1f25bb3
chore: squashing ts paths and errors
johnjenkins Feb 9, 2026
85cdeb6
chore: cli types progress
johnjenkins Feb 9, 2026
bca2de8
chore: cli types
johnjenkins Feb 9, 2026
e56908c
chore:
johnjenkins Feb 9, 2026
35692ba
chore:
johnjenkins Feb 9, 2026
46c1edb
chore: mock-doc type generation
johnjenkins Feb 9, 2026
0ec7dad
chore: add --watch
johnjenkins Feb 9, 2026
9f471d5
chore:
johnjenkins Feb 9, 2026
93a1275
chore: turbo init
johnjenkins Feb 9, 2026
8bedb16
chore: pivot
johnjenkins Feb 9, 2026
4ae81b0
chore: move to tsdown
johnjenkins Feb 10, 2026
70eb00d
chore: move cli flags to config
johnjenkins Feb 10, 2026
a21ca03
chore: tidying
johnjenkins Feb 10, 2026
9144999
chore:
johnjenkins Feb 11, 2026
a9304f2
chore: migrate config tests
johnjenkins Feb 11, 2026
f285c6f
chore: migrate cli test suite
johnjenkins Feb 11, 2026
610701b
chore: more test migrating
johnjenkins Feb 12, 2026
3e9ada6
chore: build tests
johnjenkins Feb 12, 2026
cc310ff
chore: migrate docs tests
johnjenkins Feb 12, 2026
b3aae1a
chore: output targets, style and more moved to vitest
johnjenkins Feb 12, 2026
8a1b370
chore: transformer tests
johnjenkins Feb 12, 2026
39d1e6a
chore: transform and types tests
johnjenkins Feb 12, 2026
3e28864
chore:
johnjenkins Feb 12, 2026
f1064fe
chore: nearly there with 'runtime' spec tests
johnjenkins Feb 13, 2026
4540c24
chore: runtime spec test setup - working!
johnjenkins Feb 13, 2026
018fe06
chore: migrate runtime tests
johnjenkins Feb 16, 2026
156d315
chore:
johnjenkins Feb 16, 2026
5229b97
chore:
johnjenkins Feb 16, 2026
b083823
chore:
johnjenkins Feb 16, 2026
beb4e81
chore: migrate to monorepo structure (preserve git history)
johnjenkins Feb 16, 2026
cd0e0a1
chore: fixup cli imports
johnjenkins Feb 16, 2026
811fafc
chore: vdom tests (plus add back legacy ref)
johnjenkins Feb 16, 2026
6885003
chore:
johnjenkins Feb 16, 2026
061308f
chore: ALL CORE TESTS PASS!
johnjenkins Feb 16, 2026
d62da5e
chore: mock-doc tests - DONE
johnjenkins Feb 17, 2026
f917f04
chore:
johnjenkins Feb 17, 2026
1b8d36b
Merge remote-tracking branch 'origin/main' into v5
johnjenkins Feb 17, 2026
7baa997
chore: ignore src for now
johnjenkins Feb 17, 2026
1990283
Merge branch 'v5' of github.com:stenciljs/core into v5
johnjenkins Feb 17, 2026
5bb0dc0
chore: manually merge #6595
johnjenkins Feb 17, 2026
a3e0132
feat: remove deprecated `scriptDataOpts` and legacy `patchBrowser`
johnjenkins Feb 17, 2026
a222d43
chore: swap out enums for const. Simple build works!
johnjenkins Feb 18, 2026
7e4ae42
chore: dev-server init
johnjenkins Feb 18, 2026
93df3c3
chore: fix dev-server ts errors
johnjenkins Feb 18, 2026
f548175
chore: working dev server!
johnjenkins Feb 18, 2026
22148ad
chore: reorganise
johnjenkins Feb 19, 2026
df1f003
chore: dev server improvements
johnjenkins Feb 19, 2026
2ce775c
chore:
johnjenkins Feb 19, 2026
2bd45fc
chore: moving integration tests init
johnjenkins Feb 21, 2026
8e2f44d
chore:
johnjenkins Feb 21, 2026
5df6a3e
chore:
johnjenkins Feb 22, 2026
1f4d61e
chore: versioning
johnjenkins Feb 23, 2026
dab2593
Merge remote-tracking branch 'origin/main' into v5
johnjenkins Feb 27, 2026
66330f8
chore: merge in main
johnjenkins Feb 27, 2026
cc0fa95
chore: bundler test
johnjenkins Feb 27, 2026
3d15474
chore: copy test
johnjenkins Feb 27, 2026
e6d6d60
chore: docs-json tests
johnjenkins Feb 27, 2026
b0758ad
chore:
johnjenkins Feb 27, 2026
af18959
chore: docs-readme test
johnjenkins Feb 27, 2026
a8b0293
chore: migrate e2e tests to playwright. WIP
johnjenkins Feb 28, 2026
a601615
chore: e2e build
johnjenkins Feb 28, 2026
f6a7a7f
chore:
johnjenkins Feb 28, 2026
7b7428f
chore:
johnjenkins Feb 28, 2026
0219364
chore: big ol' e2e / hydrate-script progress
johnjenkins Mar 2, 2026
65cb2f6
chore:
johnjenkins Mar 6, 2026
5bf188c
chore:
johnjenkins Mar 6, 2026
595e741
chore: playwright tests all pass!
johnjenkins Mar 8, 2026
7740923
chore:
johnjenkins Mar 8, 2026
982f474
chore: more tests moved
johnjenkins Mar 9, 2026
f4d446b
chore: more tests migrated
johnjenkins Mar 9, 2026
40930d0
chore: migrate benchmark tests
johnjenkins Mar 9, 2026
4470d81
chore: more test migrations
johnjenkins Mar 9, 2026
e245ab6
chore: wdio migration start
johnjenkins Mar 10, 2026
ba4c5dc
chore: async test
johnjenkins Mar 10, 2026
4075cd3
chore: migrate attribute-boolean test
johnjenkins Mar 10, 2026
3fcef39
chore: migrate attribute-complex
johnjenkins Mar 10, 2026
b897520
chore: fix watch order
johnjenkins Mar 11, 2026
276d825
chore:
johnjenkins Mar 11, 2026
111e2d3
chore: migrate attribute-host
johnjenkins Mar 11, 2026
b5c80f9
chore: so much test migration
johnjenkins Mar 12, 2026
9576ab0
chore: dist-custom-elements autoloader fix load order
johnjenkins Mar 12, 2026
2b216dd
chore: so many tests!
johnjenkins Mar 13, 2026
cca9113
chore: more tests migrated
johnjenkins Mar 14, 2026
01439cf
chore: more spec tests migrated
johnjenkins Mar 16, 2026
ee7f83d
chore:
johnjenkins Mar 16, 2026
306dd53
chore: more spec tests migrated
johnjenkins Mar 16, 2026
19e03cf
chore:
johnjenkins Mar 16, 2026
d36fbae
chore: spec tests working in `--prod` mode
johnjenkins Mar 17, 2026
e2da5e9
chore:
johnjenkins Mar 17, 2026
e1ab42f
chore:
johnjenkins Mar 17, 2026
4394e43
chore:
johnjenkins Mar 17, 2026
c6dbfb5
chore: nearly all wdio tests migrated
johnjenkins Mar 17, 2026
e259f41
convert all ssr related wdio tests to e2e tests
johnjenkins Mar 18, 2026
2669000
chore:
johnjenkins Mar 19, 2026
c4538a3
Merge branch 'main' into v5
johnjenkins Mar 19, 2026
71af523
chore: test reorganisation
johnjenkins Mar 20, 2026
9552c15
chore:
johnjenkins Mar 20, 2026
ec71880
chore: ssr test reorganisation
johnjenkins Mar 20, 2026
eb30e9a
chore:
johnjenkins Mar 20, 2026
28869ac
chore:
johnjenkins Mar 22, 2026
b91163e
chore:
johnjenkins Mar 22, 2026
3c11e27
chore:
johnjenkins Mar 22, 2026
7d79f79
chore:
johnjenkins Mar 22, 2026
eee3902
chore: all tests setup and working
johnjenkins Mar 24, 2026
e3adab9
chore: tidy
johnjenkins Mar 24, 2026
5781a38
chore:
johnjenkins Mar 24, 2026
35cf6c9
chore:
johnjenkins Mar 25, 2026
33ade78
chore:
johnjenkins Mar 25, 2026
74276b3
chore: move tests
johnjenkins Mar 25, 2026
18e21e6
chore:
johnjenkins Mar 25, 2026
97380cb
chore:
johnjenkins Mar 25, 2026
8a4f92c
chore:
johnjenkins Mar 25, 2026
f915520
chore: run oxfmt
johnjenkins Mar 25, 2026
65db173
chore: oxlint
johnjenkins Mar 25, 2026
23efff3
chore: linting is fun
johnjenkins Mar 25, 2026
f8a94a4
chore:
johnjenkins Mar 25, 2026
79bbab8
chore: more linting
johnjenkins Mar 25, 2026
d01cc1f
chore: more linting
johnjenkins Mar 25, 2026
1a7bacd
chore: finished linting and formatting
johnjenkins Mar 25, 2026
439a650
chore:
johnjenkins Mar 25, 2026
c6d06b0
chore:
johnjenkins Mar 26, 2026
be68171
chore: add knip
johnjenkins Mar 26, 2026
cf8c93a
chore:
johnjenkins Mar 26, 2026
2ac0839
feat: mock-doc. Swap out custom jquery. Swap in nwsapi
johnjenkins Mar 26, 2026
3c9352d
chore: formatting
johnjenkins Mar 26, 2026
3246407
chore: node22
johnjenkins Mar 26, 2026
fb33d0c
chore:
johnjenkins Mar 27, 2026
08c01bb
chore: tidy
johnjenkins Mar 27, 2026
0ffe9c4
chore: add tests for nonce
johnjenkins Mar 27, 2026
474f098
chore: update ts 6
johnjenkins Mar 27, 2026
baf26b4
chore:
johnjenkins Mar 27, 2026
12b246f
chore:
johnjenkins Mar 27, 2026
84e59dc
chore: all tests pass again
johnjenkins Mar 27, 2026
dedfb89
chore: knip progress
johnjenkins Mar 27, 2026
ea9f8cc
chore:
johnjenkins Mar 28, 2026
335745f
chore: more knipping
johnjenkins Mar 28, 2026
d3a2faf
chore:
johnjenkins Mar 28, 2026
bdf3074
chore:
johnjenkins Mar 28, 2026
699d15e
chore: knip all done
johnjenkins Mar 28, 2026
82e3a06
chore: formatting
johnjenkins Mar 28, 2026
5dc808d
chore: formatting
johnjenkins Mar 28, 2026
d59e93b
chore: lint
johnjenkins Mar 28, 2026
302c445
chore:
johnjenkins Mar 28, 2026
b87852e
chore: update workflows
johnjenkins Mar 29, 2026
07efe84
chore:
johnjenkins Mar 29, 2026
d6664d7
chore:
johnjenkins Mar 29, 2026
325c7ed
chore:
johnjenkins Mar 29, 2026
338417d
chore:
johnjenkins Mar 29, 2026
5a0e883
chore:
johnjenkins Mar 29, 2026
9de8ed1
chore:
johnjenkins Mar 29, 2026
19ef5c1
chore:
johnjenkins Mar 29, 2026
7a7dfbd
chore:
johnjenkins Mar 29, 2026
d0ae333
chore: change to alpha
johnjenkins Apr 1, 2026
e8a69f2
chore: prerelease script
johnjenkins Apr 1, 2026
0d6e3c0
Merge branch 'main' into v5
johnjenkins Apr 1, 2026
e56fbc8
chore: format
johnjenkins Apr 1, 2026
64b3c2b
chore: bump prerelease version to 5.0.0-alpha.2
github-actions[bot] Apr 1, 2026
28b502e
Merge remote-tracking branch 'origin/main' into v5
johnjenkins Apr 1, 2026
7bede41
chore: revert test package version
johnjenkins Apr 1, 2026
db6f9bb
chore: re-implement spellchecking
johnjenkins Apr 1, 2026
076b4f0
chore: update test deps
johnjenkins Apr 1, 2026
3c508f1
chore:
johnjenkins Apr 1, 2026
98306a7
chore: swap out rollup with rolldown (#6663)
johnjenkins Apr 2, 2026
c51a2a9
Merge remote-tracking branch 'origin/main' into v5
johnjenkins Apr 2, 2026
39f2488
chore: remove es5 / systemjs output. Make cjs opt-in (#6664)
johnjenkins Apr 3, 2026
ec8cc2e
chore: fix docs types (#6665)
johnjenkins Apr 3, 2026
0aa4df4
chore: v5 remove polyfills (#6666)
johnjenkins Apr 3, 2026
6d77dcc
chore:
johnjenkins Apr 3, 2026
586c796
chore: improve caching (#6667)
johnjenkins Apr 4, 2026
f176cb9
chore: v5 swap out autoprefixer for lightningcss (#6668)
johnjenkins Apr 5, 2026
5bc7271
chore: remove all deprecated things (#6669)
johnjenkins Apr 5, 2026
5e16220
chore: update smoke tests to use shared playwright install
johnjenkins Apr 5, 2026
754db56
chore: v5 update `@Component` decorator (#6670)
johnjenkins Apr 7, 2026
7127d9f
chore: bump prerelease version to 5.0.0-alpha.3
github-actions[bot] Apr 7, 2026
abbbd84
fix migration prompt better css logging (#6677)
johnjenkins Apr 9, 2026
facfe04
Merge remote-tracking branch 'origin/main' into v5
johnjenkins Apr 9, 2026
0c98521
chore: format
johnjenkins Apr 9, 2026
ec97ed2
chore:
johnjenkins Apr 9, 2026
03b4c7e
chore:
johnjenkins Apr 9, 2026
bd84889
chore: improve style perf (#6678)
johnjenkins Apr 9, 2026
00ba985
chore: v5 multi file `transpile()` and `transpileSync()` (#6679)
johnjenkins Apr 10, 2026
fadc83f
chore: bump prerelease version to 5.0.0-alpha.4
github-actions[bot] Apr 10, 2026
e3cf802
chore: v5 watch / build improvements (#6681)
johnjenkins Apr 11, 2026
cf90c90
chore:
johnjenkins Apr 13, 2026
1748dd9
chore: v5 remove buildDist and buildDocs. Replace with per output `sk…
johnjenkins Apr 13, 2026
0834bed
chore: v5-add-other-dist-artifacts-to-skipInDev (#6685)
johnjenkins Apr 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
27 changes: 27 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Changesets

This project uses [changesets](https://github.com/changesets/changesets) for version management and changelog generation.

## Adding a changeset

When you make a change that should be released, run:

```bash
pnpm changeset
```

This will prompt you to:
1. Select which packages are affected
2. Choose the bump type (patch/minor/major)
3. Write a summary of the changes

## Lockstep versioning

All `@stencil/*` packages are configured for **lockstep versioning** - they will always have the same version number. When any package changes, all packages are bumped together.

## Release process

1. Changesets accumulate in `.changeset/` as PRs are merged
2. When ready to release, run `pnpm changeset:version` to consume changesets and bump versions
3. Review the generated CHANGELOG.md files
4. Run `pnpm changeset:publish` to publish all packages
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [["@stencil/core", "@stencil/cli", "@stencil/dev-server", "@stencil/mock-doc"]],
"linked": [],
"access": "public",
"baseBranch": "v5",
"updateInternalDependencies": "patch",
"ignore": []
}
106 changes: 0 additions & 106 deletions .eslintrc.js

This file was deleted.

155 changes: 47 additions & 108 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -1,133 +1,72 @@
# Stencil Continuous Integration (CI)

Continuous integration (CI) is an important aspect of any project, and is used to verify and validate the changes to the
codebase work as intended, to avoid introducing regressions (bugs), and to adhere to coding standards (e.g. formatting
rules). It provides a consistent means of performing a series of checks over the entire codebase on behalf of the team.

This document explains Stencil's CI setup.
This document explains Stencil's CI setup for the v5 monorepo.

## CI Environment

Stencil's CI system runs on GitHub Actions.
GitHub Actions allow developers to declare a series of _workflows_ to run following an _event_ in the repository, or on
a set schedule.

The workflows that are run as a part of Stencil's CI process are declared as YAML files, and are stored in the same
directory as this file.
Each workflow file is explained in greater depth in the [workflows section](#workflows) of this document.
Stencil's CI runs on GitHub Actions using pnpm and supports Node.js 22 and 24.

## Workflows
## Workflow Structure

This section describes each of Stencil's GitHub Actions workflows.
Each of these tasks below are codified as [reusable workflows](https://docs.github.com/en/actions/using-workflows/reusing-workflows).
```mermaid
graph TD;
build[Build]

build --> quality[Quality]
build --> unit[Unit Tests]
build --> test-build[Build Tests]
build --> test-integration[Integration Tests]
build --> test-runtime[Runtime Tests]
build --> test-special-config[Special Config Tests]
build --> test-ssr[SSR Tests]
build --> test-starter[Component Starter]
```

Generally speaking, workflows are designed to be declarative in nature.
As such, this section does not intend to duplicate the details of each workflow, but rather give a high level overview
of each one and mention nuances of each.
## Workflows

### Main (`main.yml`)

The main workflow for Stencil can be found in `main.yml` in this directory.
This workflow is the entrypoint of Stencil's CI system, and initializes every workflow & job that runs.
The orchestrator workflow that runs on push to `main`/`v5` branches and on pull requests.

### Build (`build.yml`)

This workflow is responsible for building Stencil and validating the resultant artifact.

### Format (`format.yml`)

This workflow is responsible for validating that the code adheres to the Stencil team's formatting configuration before
a pull request is merged.

### Dev Release (`release-dev.yml`)

This workflow initiates a developer build of Stencil from the `main` branch.
It is intended to be manually invoked by a member of the Stencil team.

### Nightly Release (`release-nightly.yml`)

This workflow initiates a nightly build of Stencil from the `main` branch.
A nightly build is similar to a 'Dev Release', except that:
- it is run on a set cadence (it is not expectedthat a developer to manually invoke it)
- it is published to the npm registry under the 'nightly' tag

### Test Analysis (`test-analysis.yml`)

This workflow is responsible for running the Stencil analysis testing suite.
Builds all packages and uploads artifacts for downstream jobs.

### Test End-to-End (`test-e2e.yml`)
### Quality (`quality.yml`)

This workflow is responsible for running the Stencil end-to-end testing suite.
This suite does _not_ run Stencil's BrowserStack tests.
Those are handled by a [separate workflow](#browserstack-browserstackyml).
Runs quality checks (Linux only):
- `pnpm format:check` - Code formatting (oxfmt)
- `pnpm lint:check` - Linting (oxlint)
- `pnpm typecheck` - TypeScript type checking
- `pnpm knip` - Unused code detection

### Test Unit (`test-unit.yml`)
### Test Workflows

This workflow is responsible for running the Stencil unit testing suite.
| Workflow | Matrix | Description |
|----------|--------|-------------|
| `test-unit.yml` | Linux | Unit tests for packages (`pnpm test`) |
| `test-build.yml` | Linux/Windows × Node 22/24 | Build test suite (`test/build`) |
| `test-integration.yml` | Linux/Windows × Node 22/24 | Integration tests (`test/integration`) |
| `test-runtime.yml` | Linux/Windows × Node 22/24 | Runtime tests (`test/runtime`) |
| `test-special-config.yml` | Linux/Windows × Node 22/24 | Special config tests (`test/special-config`) |
| `test-ssr.yml` | Linux/Windows × Node 22/24 | SSR tests (`test/ssr`) |
| `test-component-starter.yml` | Linux/Windows × Node 22/24 | Smoke test with component starter template |

### WebdriverIO Tests (`test-wdio.yml`)
## Release Workflows

This workflow runs our integration tests which assert that various Stencil
features work correctly when components using them are built and then rendered
in actual browsers. We run these tests using
[WebdriverIO](https://webdriver.io/) against Firefox, Chrome, and Edge.

For more information on how those tests are set up please see the [WebdriverIO
test README](../../test/wdio/README.md).

### Design

#### Overview

Most of the workflows above are contingent on the build finishing (otherwise there would be nothing to run against).
The diagram below displays the dependencies between each workflow.

```mermaid
graph LR;
build-core-->test-analysis;
build-core-->test-e2e;
build-core-->test-unit;
format;
```

Making each 'task' a reusable workflow allows CI to run more jobs in parallel, improving the throughput of Stencil's CI.
All resusable workflows can be found in the [workflows directory](.).
This is a GitHub Actions convention that cannot be overridden.

#### Running Tests

All test-related jobs require the build to finish first.
Upon successful completion of the build workflow, each test workflow will start.

The test-running workflows have been designed to run in parallel and are configured to run against several operating
systems & versions of node.
For a test workflow that theoretically runs on Ubuntu and Windows operating systems and targets Node v14, v16 and v18, a
single test workflow may spawn several jobs:

```mermaid
graph LR;
test-analysis-->ubuntu-node14;
test-analysis-->ubuntu-node16;
test-analysis-->ubuntu-node18;
test-analysis-->windows-node14;
test-analysis-->windows-node16;
test-analysis-->windows-node18;
```
Release workflows are managed separately and support both v4 (legacy) and v5 (monorepo with changesets).

These 'os-node jobs' (e.g. `ubuntu-node16`) are designed to _not_ prematurely stop their sibling jobs should one of
them fail.
This allows the opportunity for the sibling test jobs to potentially pass, and reduce the number of runners that need to
be spun up again should a developer wish to 're-run failed jobs'.
Should a developer feel that it is more appropriate to re-run all os-node jobs, they may do so using GitHub's 're-run
all jobs' options in the GitHub Actions UI.
| Workflow | Description |
|----------|-------------|
| `release-dev.yml` | Developer builds from main |
| `release-nightly.yml` | Nightly builds |
| `release-production.yml` | Production releases |
| `publish-npm.yml` | NPM publishing |

#### Concurrency
## Test Matrix

When a `git push` is made to a branch, Stencil's CI is designed to stop existing job(s) associated with the workflow +
branch.
A new CI run (of each workflow) will begin upon stopping the existing job(s) using the new `HEAD` of the branch.
Integration test workflows use `fail-fast: false` so sibling jobs continue even if one fails. This reduces the need to re-run all jobs when investigating failures.

## Repository Configuration
## Concurrency

Each of the workflows described in the [workflows section](#workflows) of this document must be configured in the
Stencil GitHub repository to be _required_ to pass in order to land code in the `main` branch.
When a `git push` is made to a branch, existing CI jobs for that branch are cancelled and a new run begins.
11 changes: 0 additions & 11 deletions .github/workflows/actions/check-git-context/action.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/actions/download-archive/action.yml

This file was deleted.

17 changes: 7 additions & 10 deletions .github/workflows/actions/get-core-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
name: 'Get Core Dependencies'
description: 'sets the node version & initializes core dependencies'
description: 'Sets up pnpm, node version & installs dependencies'
runs:
using: composite
steps:
# this overrides previous versions of the node runtime that was set.
# jobs that need a different version of the Node runtime should explicitly
# set their node version after running this step
- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Use Node Version from Volta
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version-file: './package.json'
cache: 'npm'
cache: 'pnpm'

- name: Install Dependencies
run: |
npm ci \
&& npm run install.jest

run: pnpm install --frozen-lockfile
shell: bash
Loading
Loading