Bump jsdom from 22.1.0 to 25.0.1 #103
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: | |
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 "/*" | |