Merge pull request #815 from 3dmol/dependabot/npm_and_yarn/cross-spaw… #442
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: 3Dmol.js CI | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
# As our package has a postInstall script, which in turn calls `npm run build`, hence we do not need a explicit job for that | |
- name: Install Dependencies & Build 3dmol.js | |
run: npm install | |
- name: Test | |
run: npm test | |