Optimize unoptimized code #5
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: Publish RC version to NPM | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish-rc-npm: | |
name: "Publish RC version to npm" | |
uses: ./.github/workflows/publish.yaml | |
with: | |
TAG: rc | |
UPDATE_VERSION: true | |
secrets: inherit | |
test-coverage-master: | |
name: "Upload test coverage on master" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: "npm" | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: | | |
npm run build | |
- name: Run Jest Test | |
run: | | |
npm run test | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |