Skip to content

Commit

Permalink
fix(ci): update workflow usage
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Feb 28, 2025
1 parent b548f6a commit 96d4f82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,3 @@ jobs:

- name: Upload Build Artifacts
uses: stenciljs/.github/actions/upload-archive@main
with:
name: stencil-sass
output: stencil-sass-build.zip
paths: ./dist/
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,27 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Use Node from Volta
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: 'package.json'
cache: 'npm'
- name: Install Dependencies
run: npm ci
shell: bash

- name: Get Core Dependencies
uses: stenciljs/.github/actions/get-core-dependencies@main

- 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

0 comments on commit 96d4f82

Please sign in to comment.