Update .github/workflows/publish_to_npm.yml #31
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: check_node18 | |
on: push | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Update npm | |
run: npm install -g npm | |
- name: Show environment | |
run: set -x; pwd; ls -la; node -v; npm -v; | |
- name: Install dependencies | |
run: npm install | |
- name: Run test | |
run: npm run test:node | |
- name: Run test with packed tarball | |
run: npm run test:node_with_packed_tarball |