Skip to content

A few upgrades here and there #10

A few upgrades here and there

A few upgrades here and there #10

Workflow file for this run

name: Deno CI
on:
push:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
env:
GH_ACTIONS: true
DENO_BUILD_MODE: release
V8_BINARY: true
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Tests
run: deno test --allow-read
release:
name: Release
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: latest
- name: Setup package.json
run: echo '{"name":"@denorg/qrcode","version":"0.0.0","publishConfig":{"access":"public"},"scripts":{"semantic-release":"semantic-release"},"repository":{"type":"git","url":"[email protected]:actions/checkout.git"},"author":"Denorg <[email protected]>","license":"MIT","bugs":{"url":"https://github.com/denorg/qrcode/issues"},"homepage":"https://denorg.github.io/qrcode/","devDependencies":{"semantic-release":"^17.0.4","semantic-release-gitmoji":"^1.3.3"}}' > package.json
- name: Install dependencies
run: npm install
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}