Skip to content

build(deps): Bump yaml from 2.5.0 to 2.6.1 #45

build(deps): Bump yaml from 2.5.0 to 2.6.1

build(deps): Bump yaml from 2.5.0 to 2.6.1 #45

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
action:
name: GitHub Actions
runs-on: ubuntu-latest
outputs:
files: ${{ steps.test-action.outputs.files }}
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v45
id: changed-files-ts
with:
files: "src/**/*.ts"
- name: Test Local Action
id: test-action
uses: ./
with:
files: ${{ steps.changed-files-ts.outputs.all_changed_files }}
matrix: true
hello:
name: Hello
runs-on: ubuntu-latest
needs:
- action
strategy:
matrix:
path: ${{ fromJson(needs.action.outputs.files) }}
steps:
- name: Test
run: echo "Hello, World from ${{ matrix.path }}"
typescript:
name: TypeScript
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
run: npm ci
- name: Format
run: npm run format
- name: Lint
run: npm run lint
- name: Test
run: npm run ci-test