-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from Trendyol/feature/disabled-arrows
feat: upgrade codecov workflow version
- Loading branch information
Showing
3 changed files
with
38 additions
and
32 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,35 @@ | ||
name: Pre-Release | ||
on: | ||
release: | ||
types: [prereleased] | ||
release: | ||
types: [prereleased] | ||
jobs: | ||
Publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Install | ||
run: npm install | ||
- name: Test | ||
run: npm run test | ||
- uses: codecov/codecov-action@v2 | ||
with: | ||
files: coverage/*.json | ||
flags: unittests | ||
name: react-carousel-codecov | ||
fail_ci_if_error: true | ||
verbose: true | ||
- name: Build | ||
run: npm run build | ||
- name: Publish | ||
run: npm publish --access=public --tag beta | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
Publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Install | ||
run: npm install | ||
- name: Test | ||
run: npm run test | ||
- uses: codecov/codecov-action@v4 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
files: coverage/*.json | ||
flags: unittests | ||
name: react-carousel-codecov | ||
fail_ci_if_error: true | ||
verbose: true | ||
- name: Build | ||
run: npm run build | ||
- name: Publish | ||
run: npm publish --access=public --tag beta | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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
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