ci #111
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
name: ci | |
on: | |
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ | |
workflow_dispatch: | |
push: | |
branches: | |
- "**" | |
tags-ignore: | |
- "*.*" # don't run ci on tags, should already have run on commit tag points to. | |
paths-ignore: | |
- README.md # don't run for readme changes. | |
pull_request: | |
branches: | |
- "dependabot*" | |
schedule: | |
- cron: "0 0 * * 1" # Every monday at midnight | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.5.1 | |
- name: Install dependencies | |
run: | | |
npm i | |
- name: Tests | |
run: | | |
npm run test |