Skip to content

chore(deps): update dependency axios to v1.7.8 #2742

chore(deps): update dependency axios to v1.7.8

chore(deps): update dependency axios to v1.7.8 #2742

Workflow file for this run

name: Node CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
node-ci:
runs-on: ubuntu-latest
strategy:
matrix:
directory: [./.github/scripts/fetch-tomachi-emojis, ./.github/scripts/generate-readme]
fail-fast: false
steps:
- name: πŸ›Ž Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: πŸ— Setup node
uses: actions/setup-node@v4
with:
node-version-file: ${{ matrix.directory }}/.node-version
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
run_install: false
package_json_file: ${{ matrix.directory }}/package.json
- name: πŸ“ƒ Check package.json definition
id: package-json
working-directory: ${{ matrix.directory }}
run: |
compile=$(jq '.scripts | has("compile")' package.json)
build=$(jq '.scripts | has("build")' package.json)
generate=$(jq '.scripts | has("generate")' package.json)
package=$(jq '.scripts | has("package")' package.json)
lint=$(jq '.scripts | has("lint")' package.json)
test=$(jq '.scripts | has("test")' package.json)
echo "compile: $compile"
echo "build: $build"
echo "generate: $generate"
echo "package: $package"
echo "lint: $lint"
echo "test: $test"
echo "compile=$compile" >> $GITHUB_OUTPUT
echo "build=$build" >> $GITHUB_OUTPUT
echo "generate=$generate" >> $GITHUB_OUTPUT
echo "package=$package" >> $GITHUB_OUTPUT
echo "lint=$lint" >> $GITHUB_OUTPUT
echo "test=$test" >> $GITHUB_OUTPUT
- name: πŸ“‚ Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: πŸ“‚ Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: πŸ‘¨πŸ»β€πŸ’» Install dependencies
working-directory: ${{ matrix.directory }}
run: |
pnpm install --frozen-lockfile --prefer-frozen-lockfile
- name: πŸ‘€ Run linter
if: steps.package-json.outputs.lint == 'true'
working-directory: ${{ matrix.directory }}
run: pnpm run lint
- name: 🎁 Run package
if: steps.package-json.outputs.package == 'true'
working-directory: ${{ matrix.directory }}
run: pnpm run package
- name: πŸ§ͺ Run tests
if: steps.package-json.outputs.test == 'true'
working-directory: ${{ matrix.directory }}
run: pnpm run test
- name: β˜‘οΈ Check Dependencies
working-directory: ${{ matrix.directory }}
run: npx depcheck
finished-node-ci:
name: Check finished Node CI
runs-on: ubuntu-latest
needs:
- node-ci
steps:
- name: Check finished Node CI
run: echo ok