GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — gridstack.js/.github/workflows/ci.yml at master · gridstack/gridstack.js 63 lines (51 loc) · 1.68 KB / Copy pathci.ymlFile metadata and controls63 lines (51 loc) · 1.68 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 name: CI on: push: branches: [ master ] workflow_dispatch: permissions: contents: read jobs: core: name: lint + unit tests + coverage runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 with: node-version: '20' cache: 'yarn' - name: Install dependencies run: yarn install --frozen-lockfile # `yarn lint` also lints ./react, which has its own node_modules - inlined here so # this job doesn't need that install (the react job covers it). - name: Lint run: | npx tsc --project tsconfig.build.json --noEmit npx eslint src/*.ts angular/projects/lib/src/**/*.ts # writes coverage/lcov.info, and fails if we drop below the thresholds in vitest.config.ts - name: Unit tests + coverage run: yarn test:coverage # lcov.info only ever contains src/*.ts - see the coverage include/exclude in vitest.config.ts - name: Upload coverage to Coveralls uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} file: ./coverage/lcov.info format: lcov # no coverage upload here on purpose - the badge tracks the core lib (src/) only. react: name: react unit tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 with: node-version: '20' # root install first: react/ resolves some tooling out of the root node_modules - name: Install dependencies run: | yarn install --frozen-lockfile cd react && npm install --legacy-peer-deps - name: Lint + test run: cd react && npm run lint && npx vitest run |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |