Skip to content

Schopp/fix async

Schopp/fix async #26

Workflow file for this run

name: node-jet CI
env:
NODE_VERSION: '20.8'
on:
pull_request:
branches: [ master ]
types: [opened, closed]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm ci
- run: npm run ci:eslint
- run: npm run ci:prettier
- run: npm run ci:type-check
- run: npm test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}