Skip to content

Merge pull request #36 from reedoooo/update/postLaunchEdits #59

Merge pull request #36 from reedoooo/update/postLaunchEdits

Merge pull request #36 from reedoooo/update/postLaunchEdits #59

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18.16.0'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Build
run: npm run build
- name: Install Netlify CLI
run: npm install netlify-cli -g
- name: Deploy to Netlify
run: npx netlify deploy --dir=src --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}