Skip to content

Update to latest dependencies #101

Update to latest dependencies

Update to latest dependencies #101

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Build & Publish
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
- name: Cache ✨
uses: actions/cache@v2
id: cache
with:
path: node_modules
key: ${{ runner.os }}-cache-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-cache-
- run: yarn install --frozen-lockfile
- run: yarn test
- uses: kanekotic/merge-release@master
if: github.event_name != 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}