Skip to content

Commit

Permalink
build: revert to yarn 1
Browse files Browse the repository at this point in the history
  • Loading branch information
sbolel committed Apr 26, 2022
1 parent 5c0ec10 commit 0b5d056
Show file tree
Hide file tree
Showing 6 changed files with 147,537 additions and 1,138 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,37 @@
# .github/workflows/release.yml
name: 'Release'

on:
push:
branches:
- master

jobs:
release:
name: Release
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'

- name: Set up Yarn
id: yarn-cache-dir-path
run: |
npm i -g yarn
yarn set version latest
yarn set version 1.x
yarn config set enableTelemetry 0
echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn
uses: actions/cache@v2
with:
Expand All @@ -37,14 +44,17 @@ jobs:
- name: Install Dependencies
run: |
npm i -g firebase-tools
yarn --immutable
yarn --pure-lockfile
- name: Build
run: yarn build

- name: Semantic Release
run: yarn semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Deploy
run: yarn deploy-ci
env:
Expand Down
363 changes: 0 additions & 363 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

Loading

0 comments on commit 0b5d056

Please sign in to comment.