mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
feat: add node16 support (#922)
* feat: add node16 support Signed-off-by: hackercat <me@hackerc.at> * feat: bump images to node16 Signed-off-by: hackercat <me@hackerc.at> * lint(editorconfig): ignore *.md due to mixed style Signed-off-by: hackercat <me@hackerc.at> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
62cc0aef3d
commit
3256d7984e
25 changed files with 9192 additions and 28 deletions
|
@ -16,7 +16,7 @@ import (
|
|||
"github.com/nektos/act/pkg/model"
|
||||
)
|
||||
|
||||
var baseImage = "node:12-buster-slim"
|
||||
var baseImage = "node:16-buster-slim"
|
||||
|
||||
func init() {
|
||||
if p := os.Getenv("ACT_TEST_IMAGE"); p != "" {
|
||||
|
@ -102,7 +102,7 @@ func TestRunEvent(t *testing.T) {
|
|||
// {"testdata", "shells/custom", "push", "", map[string]string{"ubuntu-latest": "ghcr.io/justingrote/act-pwsh:latest"}, ""}, // custom image with pwsh
|
||||
{"testdata", "shells/pwsh", "push", "", map[string]string{"ubuntu-latest": "ghcr.io/justingrote/act-pwsh:latest"}, ""}, // custom image with pwsh
|
||||
{"testdata", "shells/bash", "push", "", platforms, ""},
|
||||
{"testdata", "shells/python", "push", "", map[string]string{"ubuntu-latest": "node:12-buster"}, ""}, // slim doesn't have python
|
||||
{"testdata", "shells/python", "push", "", map[string]string{"ubuntu-latest": "node:16-buster"}, ""}, // slim doesn't have python
|
||||
{"testdata", "shells/sh", "push", "", platforms, ""},
|
||||
{"testdata", "job-container", "push", "", platforms, ""},
|
||||
{"testdata", "job-container-non-root", "push", "", platforms, ""},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue