Skip to content

webpack alias的vscode对应配置 #29

webpack alias的vscode对应配置

webpack alias的vscode对应配置 #29

Workflow file for this run

name: Issue to Hexo
on:
issues:
# Sufficient to trigger this workflow when an issue is milestoned
types: [ milestoned ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Checkout
uses: actions/checkout@v4
# - name: post issues
# uses: internalstability/action-issue-to-hexo@v1.0.0
# with:
# issue_url: ${{ github.event.issue.url }}
# # Personal access token used to get information of Issue
# token: ${{ secrets.token }}
# At this point, a markdown file is generated and untracked
# Take further action, e.g. generate (`hexo generate`), commit and push
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: Use Node.js 14.x
uses: actions/setup-node@v3.8.1
with:
node-version: '14.x'
# - name: Cache NPM dependencies
# uses: actions/cache@v2
# with:
# path: node_modules
# key: ${{ runner.OS }}-npm-cache
# restore-keys: |
# ${{ runner.OS }}-npm-cache
- run: node -v
- name: Install Dependencies
run: npm install
- run: echo "Install Dependencies done"
- run: pwd
- run: ls
- name: Issue to post
env:
issueUrl: ${{ github.event.issue.url }}
# Personal access token used to get information of Issue
issueToken: ${{ secrets.GITHUB_TOKEN }}
run: npm run issue-post
- run: git diff HEAD -- . ':(exclude)package-lock.json'
- name: View Post path
env:
POST_PATH: ${{ env.POST_PATH }}
run: echo "POST_PATH, ${{ env.POST_PATH }}"
- name: Cat Post
env:
POST_PATH: ${{ env.POST_PATH }}
run: cat ${{ env.POST_PATH }}
# - name: commitchange
# run: |
# git config user.name 'Topppy'
# git config user.email 'Topppy@users.noreply.github.com'
# git commit -am "issueblog: ${{ github.event.issue.url }} "
# git push