BugFix: incorrect npm login handler #51
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: Build and test | |
on: | |
- push | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
- name: Install npm dependencies | |
run: npm install | |
- name: Build the typescript sources | |
run: npm run build | |
- name: Run tests | |
run: npm run test | |
- name: Pack into tarball for npm release | |
run: npm pack | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: "*.tgz" |