v1.8.20 #1449
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: 'Solid CI' | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Installing deps | |
run: pnpm install | |
- name: Building | |
run: pnpm run build | |
- name: Testing & Coverage | |
run: | | |
pnpm run test | |
pnpm run coverage | |
- name: Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
base-path: packages/solid | |
path-to-lcov: "./packages/solid/coverage/lcov.info" | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist-folder | |
path: | | |
'*/dist' | |
'*/types' |