Skip to content

Update Expo to 51 (#35) #163

Update Expo to 51 (#35)

Update Expo to 51 (#35) #163

Workflow file for this run

name: License
on:
push:
branches:
- master
jobs:
license:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-build-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-node-modules-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: yarn
- name: NPM License Checker
run: yarn license
- name: Checkout wiki
uses: actions/checkout@v3
with:
repository: ${{github.repository}}.wiki
path: wiki
- name: Update wiki
run: |
mv -f oss-licenses.md wiki/OSS-Licenses.md
cd wiki
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git diff-index --quiet HEAD || git commit -m "Update OSS licenses" && git push