fix(fs): dir fall-through and maxAge handling
#1319
This file contains hidden or 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: [main] } | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - run: npm i -g --force corepack && corepack enable | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 | |
| with: { node-version: lts/*, cache: pnpm } | |
| - run: pnpm install | |
| - run: pnpm lint | |
| - run: pnpm build | |
| - run: pnpm test:types | |
| - run: pnpm vitest --coverage | |
| - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7 | |
| with: { token: "${{ secrets.CODECOV_TOKEN }}" } | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: { id-token: write, contents: read } | |
| needs: tests | |
| if: contains('refs/heads/main', github.ref) && github.event_name == 'push' | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: { fetch-depth: 0 } | |
| - run: npm i -fg corepack && corepack enable | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 | |
| with: { node-version: lts/*, cache: "pnpm" } | |
| - run: pnpm install | |
| - run: pnpm changelogen --bump --canary nightly | |
| - run: npm i -g npm@latest && npm publish --tag latest |