小编Meh*_*iee的帖子

如何使用 github 操作创建对提交的评论?

我在此配置中使用 github 操作

name: Node CI

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - name: install node
        uses: actions/setup-node@v1
        with:
          node-version: 12.x
      - name: npm install
        run: npm install
      - name: npm build
        run: npm run build --if-present
      - name: npm test
        run: npm test
      - name: make storybook
        run: npm run build-storybook
      - uses: dswistowski/surge-sh-action@v1
        with:
          domain: 'https://react-strix-$(git rev-parse --short HEAD).surge.sh'
          project: '.out'
          login: straxico@gmail.com
          token: ${{ secrets.SURGE_PASSWORD }}
      - name: deploy image
        run: |
          docker …
Run Code Online (Sandbox Code Playgroud)

github github-api github-actions

9
推荐指数
1
解决办法
2290
查看次数

标签 统计

github ×1

github-actions ×1

github-api ×1