Merge pull request #69 from NLnetLabs/trim-whitespace-search #50
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: | |
push: | |
tags: | |
- '*' | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
timeout-minutes: 5 | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: playwright-failed-test-traces | |
path: test-results/ | |
- run: yarn build && tar -czvf release.tar.gz public/ | |
- name: Checksums | |
run: | | |
echo "## Release Checksums" > ReleaseNotes.md | |
echo "\`$(openssl dgst -sha3-256 release.tar.gz)\`" >> ReleaseNotes.md | |
echo "\`$(openssl dgst -sha256 release.tar.gz)\`" >> ReleaseNotes.md | |