feat: add template updater #316
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [assigned, opened, synchronize, reopened, labeled] | |
name: test | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [18] | |
os: [ubuntu-latest] | |
env: | |
OS: ${{ matrix.os }} | |
NODE_VERSION: ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v2 | |
- run: git fetch --prune --unshallow | |
- run: git config --global user.name 'Actions' | |
- run: git config --global user.email 'dummy@example.org' | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: node --version | |
- run: npm install | |
- run: npm test | |
- run: npm run coverage | |
- name: Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
env_vars: OS, NODE_VERSION |