Skip to content

build(deps-dev): bump @typescript-eslint/parser from 6.21.0 to 7.13.1 #613

build(deps-dev): bump @typescript-eslint/parser from 6.21.0 to 7.13.1

build(deps-dev): bump @typescript-eslint/parser from 6.21.0 to 7.13.1 #613

Workflow file for this run

name: Test Demo
on:
push:
branches: ['master', 'monorepo']
pull_request:
branches: ['master', 'monorepo']
types: ['closed']
# cancel previous workflows, run only one workflow
concurrency:
group: test-demo-${{ github.event.push.number || github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
internal:
name: Using Direct Files
runs-on: ubuntu-latest
steps:
- name: Set TimeZone
uses: szenius/[email protected]
with:
timezoneLinux: 'Asia/Jakarta'
timezoneMacos: 'Asia/Jakarta'
timezoneWindows: 'Indonesia Standard Time'
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
ref: monorepo
submodules: recursive
token: '${{ secrets.GITHUB_TOKEN }}'
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- run: npm i -g npm gulp-cli typescript hexo-cli
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')"
- run: npm install
- run: cd test && npm i ./../ && npm update hexo-seo
- run: cd test && hexo generate
git:
if: ${{ false }} # disable for now cause git cache error
name: Using GitHub Package
runs-on: ubuntu-latest
steps:
- name: Set TimeZone
uses: szenius/[email protected]
with:
timezoneLinux: 'Asia/Jakarta'
timezoneMacos: 'Asia/Jakarta'
timezoneWindows: 'Indonesia Standard Time'
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
ref: monorepo
token: '${{ secrets.GITHUB_TOKEN }}'
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
- run: npm i -g npm gulp-cli typescript hexo-cli
- uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- run: npm install
- run: cd test && npm install 'dimaslanjaka/hexo-seo#master' && npm update hexo-seo
- run: cd test && hexo generate
npm:
name: Using NPM Package
runs-on: ubuntu-latest
steps:
- name: Set TimeZone
uses: szenius/[email protected]
with:
timezoneLinux: 'Asia/Jakarta'
timezoneMacos: 'Asia/Jakarta'
timezoneWindows: 'Indonesia Standard Time'
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
ref: monorepo
token: '${{ secrets.GITHUB_TOKEN }}'
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
- run: npm i -g npm gulp-cli typescript hexo-cli
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v4
with:
path: |
${{ steps.npm-cache.outputs.dir }}
./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')"
- run: npm install
- run: cd test && npm i hexo-seo && npm update hexo-seo
- run: cd test && hexo generate