Bump estree-util-value-to-estree from 3.0.1 to 3.1.1 #78
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: CI | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test-build-and-deploy: | |
runs-on: macos-latest | |
permissions: | |
deployments: write | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
cache: "pnpm" | |
- name: Install | |
id: install | |
run: | | |
pnpm install --no-optional --frozen-lockfile ${{ env.IS_DEPENDABOT == 0 }} | |
- name: Commit lockfile | |
if: ${{ env.IS_DEPENDABOT == 1 }} | |
uses: EndBug/add-and-commit@v9 | |
with: | |
{ add: "pnpm-lock.yaml", fetch: false, message: "Update lockfile" } | |
- name: Run linter | |
run: pnpm lint --quiet | |
- name: Typecheck | |
run: pnpm typecheck | |
- name: Build | |
run: pnpm build | |
env: | |
OG_IMAGE_SECRET: ${{ secrets.OG_IMAGE_SECRET }} | |
- name: Deploy Production to Vercel | |
if: github.ref_name == 'main' | |
run: | |
node .github/scripts/deploy.mjs --token=${{ secrets.VERCEL_TOKEN }} | |
--prod | |
- name: Deploy Preview to Vercel | |
if: github.ref_name != 'main' | |
run: node .github/scripts/deploy.mjs --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Create GitHub Preview Deployment | |
if: github.ref_name != 'main' | |
uses: chrnorm/deployment-action@v2 | |
with: | |
token: "${{ github.token }}" | |
environment-url: https://${{ env.DEPLOYMENT_ALIAS }} # <- set by deploy.mjs | |
environment: Preview | |
production-environment: false | |
initial-status: success | |
- name: Create GitHub Production Deployment | |
if: github.ref_name == 'main' | |
uses: chrnorm/deployment-action@v2 | |
with: | |
token: "${{ github.token }}" | |
environment-url: https://siddharthcodes.vercel.app | |
environment: Production | |
production-environment: true | |
initial-status: success | |
env: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
REF_NAME: "${{ github.ref_name }}" | |
IS_DEPENDABOT: ${{ secrets.IS_DEPENDABOT }} |