Bump express from 4.18.1 to 4.19.2 #24
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: NodeJS Continuous Integration | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
tests: | |
name: Continuous Integration | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
- name: "Setup Node.js" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: current | |
cache: "npm" | |
- name: "Clean Install" | |
run: npm ci | |
- name: "Run Tests" | |
run: npm test | |
- name: "Build" | |
run: npm run build | |
env: | |
PUBLIC_URL: https://${{ github.head_ref }}.portfolio-dn4.pages.dev | |
- name: "Cloudflare Config" | |
run: cp ./.cloudflare/* ./build/ | |
- name: Publish | |
uses: cloudflare/pages-action@1 | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: portfolio | |
directory: build | |
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |