Skip to content

Bump eslint from 8.46.0 to 9.14.0 #86

Bump eslint from 8.46.0 to 9.14.0

Bump eslint from 8.46.0 to 9.14.0 #86

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-pattern
- run: npm test
- 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:generate
npm run docs:build
aws s3 rm s3://harness-docs --recursive
aws s3 sync docs/.vitepress/dist s3://harness-docs
aws cloudfront create-invalidation --distribution-id E3K46T9KULV7VZ --paths "/*"