Implement MSC4039 download_file action (#99) #87
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'yarn' | |
- name: Install NPM packages | |
run: yarn install --frozen-lockfile | |
- name: Check Linting Rules and Types | |
run: yarn lint | |
- name: test | |
run: yarn test --coverage | |
- name: Upload coverage | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage | |
path: | | |
coverage | |
!coverage/lcov-report | |
- name: build | |
run: yarn build |