Skip to content

Bump @babel/traverse from 7.20.13 to 7.23.2 (#11) #11

Bump @babel/traverse from 7.20.13 to 7.23.2 (#11)

Bump @babel/traverse from 7.20.13 to 7.23.2 (#11) #11

Workflow file for this run

name: CI/CD
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build --if-present
- name: Run tests and generate coverage report
run: npm test -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Deploy with SSH and rsync
uses: burnett01/rsync-deployments@5.2.1
with:
switches: -vr
path: build/
remote_path: /var/www/ericolsen.us
remote_host: ${{ secrets.HOMESERVER_URL }}
remote_user: ${{ secrets.HOMESERVER_DEPLOY_USER }}
remote_key: ${{ secrets.HOMESERVER_DEPLOY_KEY }}
remote_key_pass: ${{ secrets.HOMESERVER_DEPLOY_PASS }}