Update dependency ejs to v3.1.10 [SECURITY] #1804
This file contains 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: Compliance | |
on: | |
pull_request: | |
jobs: | |
compliance: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20, 21] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g pnpm@8.5.1 | |
- run: pnpm -v | |
- run: pnpm install | |
- run: pnpm --filter examples exec npx playwright install | |
- run: pnpm compliance | |
integration: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20, 21] | |
steps: | |
- run: sudo chown -R $USER:$USER ${{ github.workspace }} | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
clean: false | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g pnpm | |
- run: npm install -g karma | |
- run: pnpm install | |
- run: pnpm build | |
- run: docker compose build --build-arg node_version=${{ matrix.node-version }} | |
- run: pnpm docker:build | |
- run: sleep 5 | |
- name: Verify Sockethub is listening externally | |
run: nc -zv localhost 10650 | |
- name: Verify Redis is listening | |
run: nc -zv localhost 10651 | |
- name: Redis Integration Tests | |
run: pnpm integration:redis:run | |
- name: Browser Integration Tests | |
run: pnpm integration:browser:run | |
- name: Print Docker logs | |
if: always() | |
run: pnpm docker:logs |