Skip to content

chore(deps): update dependency prettier to v3.4.2 (#50) #186

chore(deps): update dependency prettier to v3.4.2 (#50)

chore(deps): update dependency prettier to v3.4.2 (#50) #186

Workflow file for this run

name: DSA CI
on: [push]
permissions:
contents: read # for checkout
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
env:
cache-name: cache-pnpm-store
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: pnpm install --frozen-lockfile
# - name: Lint
# run: pnpm run lint
- name: Test
run: pnpm run test:ci
# - name: Build
# run: pnpm run build --if-present
- name: Generating coverage badges
uses: jpb06/jest-badges-action@latest
with:
branches: main,dev
commit-message: "chore(deploy): update coverage badges [skip ci]"
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}