execa not working with github script
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 28/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, javascript
調査の方向性
Start by running the provided workflow with actions/github-script@v6, Node.js 16.x, and the npm install execa step, then inspect the failure shown in the linked screenshot. Compare the workflow's require('execa') usage with the github-script documentation; done means establishing whether execa can be loaded and documenting a reproducible working or failing configuration.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
I have tried to use execa with github script following the documentation that github-script shows me, but deploying it doesn't work either using yarn or using npm.
This is the code that I am implementing in github actions
To Reproduce
Steps to reproduce the behavior:
jobs:
tests:
if: startsWith(github.head_ref, 'feature')
runs-on: ubuntu-latest
permissions: write-all
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node-version}}
- name: Install dependencies
run: npm ci
- run: npm install execa
- name: Do you have a unit test?
uses: actions/github-script@v6
with:
script: |
const execa = require('execa')
console.log(execa)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
- 主要言語
- TypeScript
- スター
- 5k
- フォーク
- 586
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
actions/github-script のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
actions/github-script#728 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
actions/github-script#727 · リアクション 1 件 ·
-
{ オープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
actions/github-script#724 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
actions/github-script#723 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
actions/github-script#714 · コメント 1 件 · リアクション 4 件 ·