Rename scripts (#9938)

This commit is contained in:
LitoMore 2023-11-27 18:50:10 +08:00 committed by GitHub
parent 5e357b36c8
commit 15cc8ea7fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -52,8 +52,8 @@ jobs:
uses: ./.github/actions/get-version uses: ./.github/actions/get-version
- name: Install dependencies - name: Install dependencies
run: npm i run: npm i
- name: Replace CDN theme image links from README - name: Reformat README to regular markdown
run: node ./scripts/release/strip-theme-links.js "${{ steps.get-version.outputs.version }}" run: node ./scripts/release/reformat-readme.js "${{ steps.get-version.outputs.version }}"
- name: Update SDK Typescript definitions - name: Update SDK Typescript definitions
run: node ./scripts/release/update-sdk-ts-defs.js run: node ./scripts/release/update-sdk-ts-defs.js
- name: Build NodeJS package - name: Build NodeJS package
@ -75,7 +75,7 @@ jobs:
- id: get-version - id: get-version
uses: ./.github/actions/get-version uses: ./.github/actions/get-version
- name: Replace CDN theme image links from README - name: Replace CDN theme image links from README
run: node ./scripts/release/strip-theme-links.js "${{ steps.get-version.outputs.version }}" run: node ./scripts/release/reformat-readme.js "${{ steps.get-version.outputs.version }}"
- name: Configure GIT credentials - name: Configure GIT credentials
run: | run: |
git config user.name "${GITHUB_ACTOR}" git config user.name "${GITHUB_ACTOR}"

View File

@ -1,6 +1,6 @@
/** /**
* @fileoverview * @fileoverview
* Simple Icons strip theme URL script. * Reformat README to regular markdown.
*/ */
import path from 'node:path'; import path from 'node:path';