Skip to content

build(deps-dev): bump @types/node from 17.0.41 to 20.12.7 #671

build(deps-dev): bump @types/node from 17.0.41 to 20.12.7

build(deps-dev): bump @types/node from 17.0.41 to 20.12.7 #671

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- 'master'
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- run: npm ci
- run: npm run all
tests: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: name.extension
uses: ./
with:
path: './__tests__/test-files/02-name-dot-extension-files'
pattern: "^.+\\..+$"
- name: .dotfiles
uses: ./
with:
path: './__tests__/test-files/03-dot-files'
pattern: "^\\..+$"
- name: No .dotfiles
uses: ./
with:
path: './__tests__/test-files/04-no-dot-files'
pattern: "^[^\\.]+"
- name: Contains 'a'
uses: ./
with:
path: './__tests__/test-files/05-contains-a-files'
pattern: "a+"
- name: .json files
uses: ./
with:
path: './__tests__/test-files/06-json-files'
pattern: "\\.json$"