mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #371] [MERGED] Fix path for local node12 actions #1425
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1425
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/371
Author: @jromero
Created: 9/25/2020
Status: ✅ Merged
Merged: 9/29/2020
Merged by: @cplee
Base:
master← Head:fix/185-local-js📝 Commits (2)
d88bd46Fix path for local node12 actions4497a82Merge remote-tracking branch 'upstream/master' into fix/185-local-js📊 Changes
15 files changed (+6206 additions, -10 deletions)
View changed files
📝
.gitignore(+1 -1)📝
Makefile(+5 -1)📝
pkg/runner/expression_test.go(+1 -1)📝
pkg/runner/run_context.go(+2 -2)📝
pkg/runner/runner_test.go(+2 -0)📝
pkg/runner/step_context.go(+6 -4)➕
pkg/runner/testdata/actions/node12/.gitignore(+1 -0)➕
pkg/runner/testdata/actions/node12/README.md(+3 -0)➕
pkg/runner/testdata/actions/node12/action.yml(+13 -0)➕
pkg/runner/testdata/actions/node12/dist/index.js(+5950 -0)➕
pkg/runner/testdata/actions/node12/index.js(+15 -0)➕
pkg/runner/testdata/actions/node12/package-lock.json(+177 -0)➕
pkg/runner/testdata/actions/node12/package.json(+20 -0)📝
pkg/runner/testdata/basic/push.yml(+0 -1)➕
pkg/runner/testdata/local-action-js/push.yml(+10 -0)📄 Description
This changes makes it so that the proper path is used when executing a local javascript (
node12) action.Additional minor changes:
make testto be functional by running expectedgo testtask based on README.mdmake formatto format based on CONTRIBUTING.mdGITHUB_TOKENbe set only once instead of re-executingcatper target.expression_teststo retain previous behaviour (when no file matched) now that apackage-lock.jsonfile exists intestdata.Fixes #185
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.