chore: update lockfile #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [push, pull_request] | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
deno: | |
name: mdrb-${{ matrix.os }} | |
if: | | |
github.event_name == 'push' || | |
!startsWith(github.event.pull_request.head.label, 'andrewbrey:') | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
env: | |
DENO_DIR: .deno_cache | |
steps: | |
- name: Checkout code 🌀 | |
uses: actions/checkout@v3 | |
- name: Install Deno 🦕 | |
uses: denoland/setup-deno@v1 | |
- name: Setup Deno module cache 🗃 | |
uses: actions/cache@v2 | |
with: | |
path: ${{ env.DENO_DIR }} | |
key: ${{ runner.os }}-${{ secrets.MODULE_CACHE_VERSION }}-${{ hashFiles('deno.lock') }} | |
- name: Cache dependencies ⬇ | |
run: deno cache --lock=deno.lock deps.ts deps.dev.ts | |
- name: Lint 🧹 | |
if: runner.os == 'Linux' | |
run: deno task lint | |
- name: Test 🧪 | |
run: deno task test |