Skip to content

Merge pull request #462 from oktapodia/dependabot/npm_and_yarn/coinpa… #352

Merge pull request #462 from oktapodia/dependabot/npm_and_yarn/coinpa…

Merge pull request #462 from oktapodia/dependabot/npm_and_yarn/coinpa… #352

Workflow file for this run

name: CI
on: [push]
jobs:
test:
name: tests
runs-on: macos-latest
strategy:
matrix:
node-version: ['16']
steps:
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install repository dependencies
run: yarn install
- name: Build
run: yarn build
- name: Run tests
run: yarn test