Skip to content

build(deps): bump brace-expansion from 5.0.5 to 5.0.6 (#31) #18

build(deps): bump brace-expansion from 5.0.5 to 5.0.6 (#31)

build(deps): bump brace-expansion from 5.0.5 to 5.0.6 (#31) #18

Workflow file for this run

name: CI
on:
push:
branches: [master, 'release/**']
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['20', '22']
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm test
coverage:
name: Coverage
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: pnpm
- name: Install
run: pnpm install --frozen-lockfile
- name: Test with coverage
run: pnpm test:ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
artifacts:
name: Artifacts
if: startsWith(github.ref, 'refs/heads/release/')
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: pnpm
- name: Install
run: pnpm install --frozen-lockfile
- name: Pack tarball
run: npm pack
- name: Upload tarball
uses: actions/upload-artifact@v4
with:
name: npm-tarball
path: '*.tgz'