Skip to content

Bump actions/checkout from 3.3.0 to 3.6.0 #1163

Bump actions/checkout from 3.3.0 to 3.6.0

Bump actions/checkout from 3.3.0 to 3.6.0 #1163

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Check out repository
uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# - name: Cache npm
# uses: actions/cache@v2
# with:
# path: ~/.npm
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
# restore-keys: |
# ${{ runner.os }}-node-
- name: Install dependencies
run: npm install
# - name: Compile TypeScipt
# uses: iCrawl/action-tsc@v1
- name: Build
run: npm build
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Check out repository
uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
# - name: Run tests with Jest
# uses: stefanoeb/[email protected]