File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1313 with :
1414 node-version : 12
1515 - run : npm ci
16- - run : npm test
16+ - run : npm run coverage
17+ - run : npx codecov
1718
1819 release :
1920 needs : build
@@ -24,21 +25,23 @@ jobs:
2425 - uses : actions/setup-node@v1
2526 with :
2627 node-version : 12
28+ - run : npm ci
2729 - run : npx semantic-release
2830 env :
2931 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3032 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
3133
32- # # Publish to github.
34+ # # Publish to github (WIP) .
3335# publish-gpr:
34- # needs: build
36+ # needs: release
3537# runs-on: ubuntu-latest
3638# steps:
3739# - uses: actions/checkout@v2
3840# - uses: actions/setup-node@v1
3941# with:
4042# node-version: 12
4143# registry-url: https://npm.pkg.github.com/
44+ # - run: npm ci
45+ # - run: npm publish
4246# env:
43- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44- # NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+ # NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ their (environment) extension prefix, similar to React Native's
77[ ![ npm] ( https://img.shields.io/npm/v/node-sass-conditional-importer.svg )] ( https://www.npmjs.com/package/node-sass-conditional-importer )
88[ ![ build status] ( https://travis-ci.org/codebymikey/node-sass-conditional-importer.svg?branch=master )] ( https://travis-ci.org/codebymikey/node-sass-conditional-importer )
99[ ![ Codecov Coverage] ( https://img.shields.io/codecov/c/github/codebymikey/node-sass-conditional-importer/coverage.svg?style=flat-square )] ( https://codecov.io/gh/codebymikey/node-sass-conditional-importer/ )
10+ [[ ![ Release]] ( https://github.com/codebymikey/node-sass-conditional-importer/workflows/Release/badge.svg )] ( https://github.com/codebymikey/node-sass-conditional-importer/actions?query=workflow%3ARelease )
1011
1112It reads in a list of ` environments ` extension prefixes, which it'll attempt to use over the default file.
1213
You can’t perform that action at this time.
0 commit comments