Skip to content

Update pack format to 41 #704

Update pack format to 41

Update pack format to 41 #704

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
name: Test
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache Node Modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-
- name: Cache Build Info
uses: actions/cache@v2
with:
path: '**/*.tsbuildinfo'
key: ${{ runner.os }}-tsbuildinfo
restore-keys: |
${{ runner.os }}-tsbuildinfo-
${{ runner.os }}-
- name: Test Core
run: |
cd core
npm i
sudo npm link
npm run build
npm test
- name: Test Java Packages
run: |
cd java
cd 1.15 && npm i && npm link @mcschema/core && cd ..
cd 1.16 && npm i && npm link @mcschema/core && cd ..
cd 1.17 && npm i && npm link @mcschema/core && cd ..
cd ..
npm run build