Skip to content

Bump glob from 10.4.5 to 10.5.0 #85

Bump glob from 10.4.5 to 10.5.0

Bump glob from 10.4.5 to 10.5.0 #85

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 1
matrix:
node: [20, 22, 23, 24]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Cache node modules
id: cache
uses: actions/cache@v4
with:
path: node_modules # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: Prettier
run: npm run fmt:check
- name: ESlint
run: npm run eslint:github-action
- name: Shell Linter
uses: azohra/shell-linter@v0.8.0
with:
path: "scripts"
- run: npm test
release:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: "https://registry.npmjs.org"
- uses: go-semantic-release/action@v1
id: semrel
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
update-file: package.json
changelog-file: CHANGELOG.md
- name: Publish
if: steps.semrel.outputs.version != ''
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- uses: rhysd/changelog-from-release/action@v3
if: steps.semrel.outputs.version != ''
with:
file: CHANGELOG.md
github_token: ${{ secrets.GITHUB_TOKEN }}