Skip to content

use fork of appservice (#2) #6

use fork of appservice (#2)

use fork of appservice (#2) #6

Workflow file for this run

name: Tests
on:
push:
branches:
- fork-for-tmp-release
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-20.04
container: node:16
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- run: yarn --frozen-lockfile
- run: yarn lint
test-14:
runs-on: ubuntu-20.04
container: node:14
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 14
- run: yarn --frozen-lockfile
- run: yarn build && yarn test
test-16:
runs-on: ubuntu-20.04
container: node:16
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- run: yarn --frozen-lockfile
- run: yarn build && yarn test
publish:
name: Publish to registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 14
check-latest: true
- shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
yarn build
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --access public