There is a long history of Catholic Social Teaching on work and labour, particularly since Pope Leo XIII's iconic encyclical on the condition of the working classes, Rerum Novarum, in 1891.
Here are some of key Church documents since then.
Encyclicals and Letters
Leo XIII, Rerum Novarum, 1981
Pius XI, Quadragesimo Anno, 1931
John XXIII, Mater et Magistra, 1961
Paul VI, Octogesima Adveniens, 1971
John Paul II, Laborem Exercens, 1981
John Paul II, Centesimus Annus, 1991
Francis, Laudato Si', 2015
Other papal documents
John Paul II, Address to the workers at the Transfield factory, Sydney, 1986
Pope Francis, Letter to Social Movements, 12 April, 2020
Gaudium et Spes, 1965