chore(deps-dev): bump vitest from 2.1.3 to 2.1.9 #898
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: | |
pull_request: | |
branches: [master] | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
cache: npm | |
- name: yarn install, build, test and lint | |
run: | | |
yarn install --immutable | |
yarn run test | |
yarn run build | |
yarn run lint | |
- name: Configure AWS credentials | |
if: github.actor != 'dependabot[bot]' | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.AWS_S3_ASSETS_DEPLOY_ROLE }} | |
aws-region: eu-west-1 | |
- name: Upload to CDN | |
if: github.actor != 'dependabot[bot]' | |
uses: ./.github/actions/cdn | |
with: | |
file: "dintero-checkout-web-sdk.umd.min.js" | |
s3-bucket: ${{ secrets.S3_BUCKET }} | |
s3-prefix: "pkg/checkout-web-sdk" | |
set-as-latest: false | |
update-github-release: false |