build(deps): bump tar from 6.1.0 to 6.2.1 #188
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: Node.js CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test-build-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install npm packages using cache | |
uses: bahmutov/npm-install@v1 | |
with: | |
# the IBI Group TSDX fork has some dependency issues | |
# that cause yarn install to fail on a ci runner. Disabling | |
# concurrency allows installation to complete successfully | |
install-command: yarn --frozen-lockfile --network-concurrency 1 | |
- name: Copy example config | |
run: cp .env.tmp .env.build | |
- name: Lint code | |
run: yarn lint | |
- name: Lint docs | |
run: yarn lint-docs | |
# TODO: Add jest tests | |
# - name: Run tests with coverage | |
# run: yarn cover | |
- name: Build example project | |
run: yarn build | |
# at this point, the build is successful | |
- name: Semantic Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: yarn semantic-release |