Created
December 29, 2021 11:55
-
-
Save stfsy/14ae80109582a56203a36274535d315c to your computer and use it in GitHub Desktop.
Simple opinionated GitHub Actions workflow for unit-testing of Vue.js with TailwindCSS
This file contains hidden or 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: unit-tests | |
| on: push | |
| jobs: | |
| build: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [16.x] | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@master | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2.5.0 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: npm run test:unit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment