This repository has been archived by the owner on May 1, 2024. It is now read-only.
fix(deps): bump ejs from 3.1.8 to 3.1.10 #441
Workflow file for this run
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: CD (on pr/main) | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
CD: | |
runs-on: ubuntu-latest | |
env: | |
NEW_INFECTED_URL: ${{ secrets.NEW_INFECTED_URL }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Install dependencies | |
run: npm ci | |
- name: Build project | |
run: npm run build | |
- name: Lint | |
run: npm run lint | |
Release: | |
runs-on: ubuntu-latest | |
needs: [CD] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Release | |
if: github.ref == 'refs/heads/main' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: npx semantic-release | |
# test: | |
# needs: [build] | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Install dependencies | |
# run: npm ci | |
# - name: Test | |
# run: npm run test |