Skip to content

增加工具类型ExtractToken #73

增加工具类型ExtractToken

增加工具类型ExtractToken #73

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
- run: npm install
- run: npm run unit
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build:
needs: unit-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@v2
with:
name: my-artifact
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
environment: manually
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
- uses: actions/download-artifact@v2
with:
name: my-artifact
- run: echo "hello world"
- run: ls -al