Skip to content

test ci simple 4-scriopt-js #1 #4

test ci simple 4-scriopt-js #1

test ci simple 4-scriopt-js #1 #4

Workflow file for this run

name: Go Test With Matrix
on:
push:
branches:
- "4-script-je"
workflow_dispatch:
jobs:
test:

Check failure on line 11 in .github/workflows/3-matrix.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/3-matrix.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
name: Test on Go
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Run inline JavaScript script
run: |
console.log("Hello from inline JavaScript!");
const now = new Date();
console.log(`Current date and time: ${now.toLocaleString()}`);
console.log(`Repository name: ${{ github.repository }}`);
shell: node {0}