Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

ci: add canary release workflow #152

ci: add canary release workflow

ci: add canary release workflow #152

Workflow file for this run

name: checks
on:
push:
branches-ignore:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
cache: yarn
node-version-file: .nvmrc
registry-url: "https://npm.pkg.github.com/"
- run: yarn install --frozen-lockfile --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
cache: yarn
node-version-file: .nvmrc
registry-url: "https://npm.pkg.github.com/"
- run: yarn install --frozen-lockfile --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn lint-ci
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
cache: yarn
node-version-file: .nvmrc
registry-url: "https://npm.pkg.github.com/"
- run: yarn install --frozen-lockfile --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn test --ci