Merge pull request #33 from DopplerHQ/emily/ci-omit-dev-dependencies-… #110
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: Tests | |
# Disabling until we decide it's worth it to run the tests on | |
# GitHub actions which will require a bigger machine than the | |
# default one used. A bigger machine is needed as the tests | |
# require the VS Code application to run. | |
# on: | |
# push: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: Tests | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "22.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install CLI | |
uses: dopplerhq/cli-action@v2 | |
- name: NPM Install | |
run: npm ci | |
- name: NPM Test | |
run: npm run test | |
env: | |
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }} |