local-setup-node/.gitea/workflows/ci.yml

35 lines
638 B
YAML
Raw Permalink Normal View History

name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
test-action:
name: GitHub Actions Test
runs-on: local-test
steps:
- name: Checkout
id: checkout
uses: https://gitea.joylink.club/actions/checkout@v4
- name: Test Local Action
id: test-action
uses: ./
with:
version: 'v18.19.1'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Print Output
id: output
run: echo "${{ steps.test-action.outputs.version }}"