* fix: update vite version for directus/extension (#12) Co-authored-by: Kristoffer <zs-ko@users.noreply.github.com> * update lock * fix: add override for vite dependency * fix: add error messages on cache * fix: add blank to username/password if undefined * fix: add missing configurations to redis. add more catch statemsnts * doc: add REDIS_JWT_DB * add arm64 * fix: resolve vulnerabilities in get-func-name,postcss,zod * fix: update chai * disable default attestations * fix: correct image build for arm * fix: remove quemu * fix: typo in runner name * fix runner * fix: add platform to build and push resolves arm64 * fix: resolve invalid lock file * fix: Patch workflow and packages (#15) * fix: patch vulnerabilities and add arm64 support (#13) * fix: update vite version for directus/extension (#12) Co-authored-by: Kristoffer <zs-ko@users.noreply.github.com> * update lock * fix: add override for vite dependency * fix: add error messages on cache * fix: add blank to username/password if undefined * fix: add missing configurations to redis. add more catch statemsnts * doc: add REDIS_JWT_DB * add arm64 * fix: resolve vulnerabilities in get-func-name,postcss,zod * fix: update chai * disable default attestations * fix: correct image build for arm * fix: remove quemu * fix: typo in runner name * fix runner * fix: add platform to build and push resolves arm64 * fix: resolve invalid lock file --------- Co-authored-by: Kristoffer <zs-ko@users.noreply.github.com> * fix: bump directus sdk (#14) Co-authored-by: zs-ko <zs-ko@users.noreply.github.com> * ci: add audit to ci --------- Co-authored-by: Kristoffer <zs-ko@users.noreply.github.com> --------- Co-authored-by: Kristoffer <zs-ko@users.noreply.github.com>
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- next
|
|
|
|
jobs:
|
|
check:
|
|
# The type of runner that the job will run on
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node: [ 18, 20 ]
|
|
|
|
name: Node ${{ matrix.node }} PR
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 8
|
|
- name: Use Node.js ${{ matrix.node }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
cache: 'pnpm'
|
|
- run: pnpm install
|
|
name: install dependencies
|
|
- run: pnpm lint
|
|
name: linting
|
|
- run: pnpm test:coverage
|
|
name: testing
|
|
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
|
|
run: pnpm audit signatures
|
|
- run: pnpm build
|
|
name: build package
|
|
- name: 'Report Coverage'
|
|
if: always() # Also generate the report if tests are failing
|
|
uses: davelosert/vitest-coverage-report-action@v2 |