Remove deno due to it not supporting module vm #374
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: Test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up caching for npm | |
id: cache-node_modules | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.npm | |
**/node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node_modules- | |
- name: Install Node packages | |
if: steps.cache-node_modules.outputs.cache-hit != 'true' | |
env: | |
NODE_ENV: development | |
run: | | |
npm ci --silent | |
- name: Run all pre-release checks and validate no changed files | |
run: | | |
npm run pre-release | |
[[ -z $(git status -s) ]] || (git status -s; echo "changes to files in CI"; exit 1); |