Skip to content

Bump semver from 5.7.1 to 5.7.2 #46

Bump semver from 5.7.1 to 5.7.2

Bump semver from 5.7.1 to 5.7.2 #46

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Test and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '15'
- name: Cache node_modules
uses: actions/cache@v2
with:
path: node_modules
key: yarn-${{ runner.OS }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-${{ runner.OS }}-${{ env.cache-name }}
yarn-${{ runner.OS }}-
- name: Install dependencies
# "--frozen-lockfile" doesn't work, see https://github.com/yarnpkg/yarn/issues/5840
run: |
yarn install
if [[ -n "$(git status -s yarn.lock)" ]] ; then
echo "yarn.lock is outdated"
exit 1
fi
- name: Run tests
run: yarn test
- name: Build
run: yarn build