Skip to content

feat(04): add support TheDate, TheTime and FileInterface #5

feat(04): add support TheDate, TheTime and FileInterface

feat(04): add support TheDate, TheTime and FileInterface #5

Workflow file for this run

name: test
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist
unit:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: dist
path: ./dist
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run test:tu
- if: always()
uses: davelosert/vitest-coverage-report-action@v2
types:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: dist
path: ./dist
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run test:types
lint:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: dist
path: ./dist
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run test:lint