fix tests from merge #1040
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: 'DOMExpressions CI' | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Installing deps | |
run: pnpm install | |
- name: Building | |
run: pnpm run build | |
- name: Testing & Coverage | |
run: | | |
pnpm run test | |
pnpm run test:coverage | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
base-path: packages/dom-expressions | |
path-to-lcov: "./packages/dom-expressions/coverage/lcov.info" | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist-folder | |
path: | | |
'*/dist' | |
'*/types' |