This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
name: Test My Gitea Runner
|
|
||||||
run-name: Testing runner execution by ${{ gitea.actor }}
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test-job:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Print Hello
|
|
||||||
run: echo "🚀 Отлично! Раннер успешно принял и выполнил задачу!"
|
|
||||||
|
|
||||||
- name: Check System Info
|
|
||||||
run: |
|
|
||||||
echo "Операционная система раннера:"
|
|
||||||
uname -a
|
|
||||||
echo "Текущее время в контейнере:"
|
|
||||||
date
|
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
name: Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
|
||||||
|
- name: Cache yarn dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
node_modules
|
||||||
|
~/.cache/yarn
|
||||||
|
key: yarn-${{ hashFiles('yarn.lock') }}
|
||||||
|
restore-keys: yarn-
|
||||||
|
|
||||||
|
- run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
- run: yarn test:report --run
|
||||||
Reference in New Issue
Block a user