Skip to content

v1.1.1

v1.1.1 #11

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
defaults:
run:
working-directory: ./ec-sri-invoice-signer
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.18.2'
registry-url: 'https://registry.npmjs.org'
- run: sudo timedatectl set-timezone America/Guayaquil # date getter function tests are dependent on timezone
- run: npm ci
- run: npm run build
- run: npm run test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}