v4 #65
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: pull request | |
on: | |
pull_request: | |
branches: | |
- master | |
types: [opened, edited, reopened, synchronize] | |
jobs: | |
test: | |
name: "test" | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repo | |
uses: actions/checkout@v3 | |
- name: setup node | |
id: setup-node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gettext | |
- name: install npm dependencies | |
run: npm ci | |
- name: run tests | |
run: npm run test | |
- name: build package | |
run: npm run build | |
- name: build docs | |
run: npm run docs:build |