Skip to content

treat any imports with extensions (excluding html and [tj]sx?) as asset imports #21

treat any imports with extensions (excluding html and [tj]sx?) as asset imports

treat any imports with extensions (excluding html and [tj]sx?) as asset imports #21

Workflow file for this run

name: PR
on:
pull_request:
branches: [ main ]
permissions:
id-token: write
contents: write
pull-requests: write
checks: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "NPM Install, Build, and Cache"
id: npm-install-build-and-cache
uses: ./.github/actions/npm-install-build-and-cache
test:
name: Test
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Retrieve Dependencies and Build Artifacts"
id: retrieve-deps-and-build
uses: ./.github/actions/retrieve-deps-and-build
- name: Test
run: npm run test
summary:
name: Summary
needs: [build, test]
runs-on: ubuntu-latest
steps:
- name: Summary
run: |
echo "Build: ${{ needs.build.result }}"
echo "Test/Lint: ${{ needs.test.result }}"