Extension to return old Twitter layout from 2015.
1name: Pack Extension
2
3on:
4 push:
5 branches: [ "master" ]
6 pull_request:
7 branches: [ "master" ]
8
9jobs:
10 build:
11
12 runs-on: ubuntu-latest
13
14 steps:
15 - name: Checkout Source Tree
16 uses: actions/checkout@v3
17
18 - name: Setup Node.js environment
19 uses: actions/setup-node@v3
20
21 - name: Install ZIP
22 uses: montudor/action-zip@v1
23
24 - name: Setup NPM packages
25 run: npm install
26
27 - name: Pack extension
28 run: npm run build-action
29
30 - name: Unzip extension
31 run: unzip -qq ../OldTwitterChrome.zip -d OldTwitterChrome; unzip -qq ../OldTwitterFirefox.zip -d OldTwitterFirefox
32 working-directory: ${{ github.workspace }}
33
34 - name: Upload for Firefox
35 uses: actions/upload-artifact@v3.1.2
36 with:
37 name: OldTwitterFirefox
38 path: ${{ github.workspace }}/OldTwitterFirefox
39 - name: Upload for Chromium
40 uses: actions/upload-artifact@v3.1.2
41 with:
42 name: OldTwitterChrome
43 path: ${{ github.workspace }}/OldTwitterChrome