Skip to content

v2.0.2

v2.0.2 #42

Workflow file for this run

name: release
on:
release:
types: [released]
env:
WEBHOOK_MOCK_URL: http://localhost:80/post
jobs:
build:
runs-on: ubuntu-latest
services:
httpbin:
image: kennethreitz/httpbin
ports:
- 80:80
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Testing
env:
FIREBASE_CERT: ${{ secrets.FIREBASE_CERT }}
run: npm run test
- name: Code Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_KEY }}
verbose: true
files: ./coverage/lcov.info
- name: Publish
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
npm publish --ignore-scripts
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}