chore(deps): bump got and np #599
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
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 | |
# 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: | |
- name: Checkout Code | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
persist-credentials: false | |
- name: Use Node from Volta | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
with: | |
node-version-file: 'package.json' | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci | |
shell: bash | |
- name: Prettier Check | |
run: npm run prettier.dry-run | |
shell: bash | |
- name: Install Stencil ${{matrix.stencil_version}} | |
run: npm install --save-dev @stencil/core@${{matrix.stencil_version}} | |
shell: bash | |
if: ${{ matrix.stencil_version != 'DEFAULT' }} | |
- name: Report Stencil Version | |
run: npm ls @stencil/core | |
shell: bash | |
- name: Build | |
run: npm run build -- --ci | |
shell: bash | |
- name: Test | |
run: npm run test.ci | |
shell: bash |