Skip to content

Commit

Permalink
chore(ci): add Stencil v4 and latest versions to CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed Jun 2, 2023
1 parent 839787a commit c8618ba
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ on:

jobs:
build:
name: (build stencil ${{ matrix.stencil_version }})
name: (stencil-sass with Stencil version ${{ matrix.stencil_version }})
strategy:
matrix:
# Run two different versions in parallel:
# 1. DEFAULT - uses the version of Stencil written in `package-lock.json`, keeping the same version used by the
# Stencil team as a source of truth
# 2. 2 - will install the latest release under major version 2 of Stencil. This should be kept as long as this
# library supports Stencil v2.Y.Z
stencil_version: ['DEFAULT', '2']

# 3. v4-next - will install a pre-release version of Stencil v4, and is used to detect any regressions in a
# pre-release of v4.0.0.
# 4. latest - will install the latest version of Stencil. Prior to the Stencil v4.0.0 release, this will
# resolve to the latest version of Stencil v3. After the Stencil v4.0.0 release, it will resolve to the latest
# version of Stencil v4.
stencil_version: ['DEFAULT', '2', 'v4-next', 'latest']
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit c8618ba

Please sign in to comment.