New input: allow deletion of workflows older than a given timeframe (… #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Run unit test and the action itself | |
## | |
name: Unit Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- feature/** | |
jobs: | |
# test action works running from the graph | |
test: | |
name: "Test /w node v${{ matrix.version }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [20] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.version }} | |
cache: 'npm' | |
- run: npm ci | |
- uses: ./ | |
with: | |
token: ${{ github.token }} |