Prepare release 0.3.0 #10
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: Build and Test | |
permissions: read-all | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- gh-actions-test | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [18.20.2, 20.12.1, 21.7.3, 22.0.0] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Set up .nvmrc | |
run: echo v${{ matrix.node-version }} > .nvmrc | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8.0 | |
- name: Install Bash and other dependencies (Ubuntu) | |
# * bash: scripts. | |
# * xxd: tests. | |
# * git: scripts, tests. | |
# * xxhash: changeguard. | |
# * rsync: out-of-directory test. | |
# * grep: tests. | |
# * expect: for `unbuffer`, useful to grab and compare ansi color symbols. | |
# * jq: dependency for [yq](https://github.com/kislyuk/yq), which is used | |
# to generate the README. | |
run: | | |
sudo apt-get update && sudo apt-get install -y bash grep xxd git xxhash \ | |
rsync expect jq | |
# - name: Install nvm | |
# run: | | |
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | |
- name: Run everything | |
run: | | |
npm install | |
npx playwright install-deps | |
npx playwright install firefox | |
bash scripts/pre.sh |