feat(dependencies): update astro to 5.2.1 and internal helpers to 0.5.0 #45
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: Production Deployment | |
env: | |
VERCEL_ORG_ID: ${{ secrets.ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.PROJECT_ID }} | |
LEFTHOOK: 0 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Workflow: | |
runs-on: ubuntu-latest | |
steps: | |
# config_actions: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
# setup_node: | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
# install_dependencies: | |
- name: Install Dependencies | |
run: yarn install | |
# typecheck: | |
- name: Generate Astro Types | |
run: yarn sync | |
- name: Run Typescript Check | |
run: yarn typecheck | |
# lint: | |
- name: Run Lint | |
run: yarn lint | |
# test_ci: | |
- name: Run Tests | |
run: yarn test:ci --reporter=verbose | |
# build_deploy: | |
- name: Install Vercel CLI | |
run: yarn global add vercel@latest | |
- name: Pull Vercel Environment Information | |
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Build Project Artifacts | |
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Deploy Project Artifacts to Vercel | |
run: vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }} | |
# release: | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release |