0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
astro/.github/workflows/nodejs.yml
2021-03-26 13:45:53 -06:00

29 lines
544 B
YAML

name: Node CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
cd examples/snowpack
npm ci
cd ../..
npm ci
npm run build
npm test
env:
CI: true