我已经为我的Express设置了GitHub工作流。一个月前的js RESTapi项目。那些日子我工作得很好。但现在,当我今天尝试运行同样的程序时,它会在屏幕上出现问题
正在启动工作流运行
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: DEV BUILD
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
node-version: [ 14.x,15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm package-lock.json
- run: npm i
- run: pm2 restart app.js
这个文件怎么了?有没有办法查看日志文件,以便我知道出了什么问题?
任何帮助!
提前感谢。=)