Skip to content

Update title for post page #354

Update title for post page

Update title for post page #354

Workflow file for this run

name: Staging deployment
on:
push:
branches:
- '*'
tags:
- '!v*'
jobs:
test-and-lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Begin CI...
uses: actions/checkout@v2
- name: Use NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use cached node_modules
uses: actions/cache@v1
with:
path: node_modules
key: nodeModules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
nodeModules-
- name: Install dependencies
run: npm ci
env:
CI: true
- name: Type check
run: npm run typecheck
env:
CI: true
# - name: Lint
# run: npm run lint
# env:
# CI: true
# - name: Test
# run: npm run test
# env:
# CI: true
- name: Build
run: npm run build
env:
CI: true
vercel-deploy:
runs-on: ubuntu-latest
needs: [test-and-lint]
steps:
- uses: actions/checkout@v2
- name: Deploy to Vercel staging
run: |
VERCEL_ORG_ID=${{ secrets.VERCEL_ORG_ID }} \
VERCEL_PROJECT_ID=${{ secrets.VERCEL_PROJECT_ID }} \
npx vercel \
--token ${{ secrets.VERCEL_TOKEN }}