Skip to content

Release 0.11.2

Release 0.11.2 #40

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Create release and publish it
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Node for NPMJS Deployment
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
cache-dependency-path: yarn.lock
registry-url: https://registry.npmjs.org/
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: |
node_modules
packages/addons/node_modules
packages/cli/node_modules
packages/client/node_modules
packages/server/node_modules
packages/shared/node_modules
packages/test/node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install YARN dependencies
if: steps.cache-npm.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: lint
run: yarn lint
- name: test
run: yarn test:ci
- name: build
run: yarn build
- name: E2E tests
run: yarn test:e2e