build(deps): bump http-proxy-middleware in /sample/browser (#191) #158
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: push-master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_test_publish: | |
name: Build, test, and publish unstable release | |
if: "! contains(github.event.head_commit.message, 'chore(release): publish')" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: "https://registry.npmjs.org" | |
- run: yarn install --frozen-lockfile | |
- run: yarn build:release | |
- run: yarn test | |
- run: git config user.name "Mattr CI" | |
- run: git config user.email "[email protected]" | |
- run: npm whoami | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }} | |
- run: yarn publish:unstable | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }} | |
- name: Report Coverage | |
uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # [email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |