upgrade deps, properly expose types #17
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 CI | |
on: [push] | |
jobs: | |
default: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Skip CI | |
uses: veggiemonk/skip-commit@master | |
env: | |
COMMIT_FILTER: skip ci | |
- name: Prepare repository | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
git checkout "${GITHUB_REF:11}" -- | |
git remote rm origin | |
git remote add origin "https://[email protected]/hipstersmoothie/bmp-ts.git" | |
git fetch origin | |
git branch --set-upstream-to origin/master | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Build | |
run: | | |
git remote -v | |
yarn | |
yarn build | |
- name: Test | |
run: yarn test | |
- name: Upload coverage to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{secrets.CODECOV_KEY}} | |
- name: Release | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: yarn release |