Skip to content

Commit

Permalink
Setting up GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Aug 2, 2021
1 parent 2f8ebce commit 20f09fa
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test-node.yml
@@ -0,0 +1,30 @@
name: Test Node Packages

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

env:
cwd: ./javascript-modules

strategy:
matrix:
node-version: [14.x, 15.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: yarn install --frozen-lockfile
working-directory: ${{ env.cwd }}
- run: yarn workspaces run test
working-directory: ${{ env.cwd }}

0 comments on commit 20f09fa

Please sign in to comment.