Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade GitHub actions versions #270

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,22 @@ name: Node CI
on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
version: ${{ steps.daily-version.outputs.version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 20
- run: yarn install
Expand All @@ -30,25 +30,24 @@ jobs:
name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
gh release create "${{ steps.daily-version.outputs.version }}"
run: gh release create "${{ steps.daily-version.outputs.version }}"

Build-and-upload-artifacts:
needs: Version
if: github.event_name == 'push' || needs.Version.outputs.created
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
command:
- firefox
- chrome
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: yarn install --frozen-lockfile

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: yarn install, build, and test
Expand All @@ -60,8 +59,9 @@ jobs:
VER: ${{ needs.Version.outputs.version }}
run: |
yarn update-version:${{ matrix.command }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: auto-capitalise-artifacts-${{ strategy.job-index }}
path: distribution

Submit:
Expand All @@ -75,7 +75,7 @@ jobs:
- chrome
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: yarn install
- run: yarn build
- name: Update extension’s meta
Expand Down
7 changes: 3 additions & 4 deletions distribution/dependencies/bootstrap.min.css

Large diffs are not rendered by default.

Loading
Loading