fix: add rel=noopener and target=_blank to social and institution ext… #100
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: Build Check | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".node-version" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Cache Vite build | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .svelte-kit | |
| node_modules/.vite | |
| key: ${{ runner.os }}-vite-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('src/**') }} | |
| restore-keys: | | |
| ${{ runner.os }}-vite-${{ hashFiles('**/package-lock.json') }}- | |
| ${{ runner.os }}-vite- | |
| - name: Run linting | |
| run: npm run lint | |
| - name: Run type checking | |
| run: npm run check | |
| - name: Build site | |
| run: npm run build | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps chromium webkit | |
| - name: Run Playwright tests | |
| run: npm run test | |
| - name: Upload Playwright report | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 14 |