Skip to content

Bump vitest from 0.34.6 to 2.1.5 #123

Bump vitest from 0.34.6 to 2.1.5

Bump vitest from 0.34.6 to 2.1.5 #123

Workflow file for this run

name: CI
on: [push, workflow_dispatch]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm run lint --no-fix --no-error-on-unmatched-patt
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.S3_ONLY_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.S3_ONLY_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Build and deploy
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
run: |
npm run docs:build
aws s3 rm s3://harness-vue-bootstrap-docs --recursive
aws s3 sync docs/.vitepress/dist s3://harness-vue-bootstrap-docs
aws cloudfront create-invalidation --distribution-id E3SM26QKXD46A6 --paths "/*"